Re: [Flashcoders] current consensus of available Flash 3D engines?

2010-04-15 Thread Meinte van't Kruis
aaah Blender.. *shudders* It completely frustrated the hell out of me, in
terms
of UI and user experience.

but still once you know it.. I guess.. people do make cool things with it
and it is free.

On Wed, Apr 14, 2010 at 8:38 PM, Merrill, Jason <
jason.merr...@bankofamerica.com> wrote:

> >> Now I'd really like to get my hands on Lightwave or 3DS Max.
>
> Blender is free and almost as good and in some areas equal (and in a few
> areas, better than those tools).
>
> Lynda.com has some really great Blender tutorials which will get you
> over the Blender interface (which is not intuitive)
>
>
> Jason Merrill
>
> Bank of  America  Global Learning
> Learning & Performance Solutions
>
> Join the Bank of America Flash Platform Community  and visit our
> Instructional Technology Design Blog
> (note: these are for Bank of America employees only)
>
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
Meinte van't Kruis

Freelance Flash Platform Dev (mxml,actionscript,flex,air)

malatze
http://www.malatze.com/
http://blog.malatze.com/
http://www.linkedin.com/in/meinte
mei...@malatze.com
0617459744
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] current consensus of available Flash 3D engines?

2010-04-11 Thread Meinte van&#x27;t Kruis
from the website:
Unity supports three scripting languages: JavaScript, C#, and a dialect of
Python called Boo.
I'm sure more than 1% has it installed by now, I've seen more unity content
than silverlight content and unity is a bit older and I've read silverlight
is at about 60% in some countries, so my guess is that Unity may be around
the same numbers.

Anway.. I think those stats shouldn't be too important, I believe if the app
appeals enough(people see screenshots, vids of it), installation of unity
(which is the most painless plugin installation in my view) follows.

@Karl: No, Unity cannot be ported to Flash.. That would've made a good
april's fools joke tho ;). ps. the Unity tutorials are pretty good on their
website, just download the free version and dig in :).

cheers,
Meinte


On Sun, Apr 11, 2010 at 1:24 PM, David Hunter wrote:

> I actually went to a unity meetup and demo the other week to check it out.
> Very impressive, the quality is excellent and you can deliver across many
> platforms easily (browser, desktop app, wii, iPhone). The problem with the
> browser is less than 1% have the plugin installed compared to 98% for flash.
> I think you can use a few different languages in it, pretty sure that
> includes JavaScript. Check their website as there is plenty of info on
> there.
>
> > From: k...@designdrumm.com
> > Subject: Re: [Flashcoders] current consensus of available Flash 3D
> engines?
> > Date: Sun, 11 Apr 2010 03:59:38 -0500
> > To: flashcoders@chattyfig.figleaf.com
> >
> > Hello,
> > Has anyone used "Unity 3D"?
> > Does anyone know if it can port to Flash?
> > I just received a copy and was curious.
> > Thanks,
> >
> > Karl
> >
> >
> > On Apr 11, 2010, at 3:45 AM, Meinte van't Kruis wrote:
> >
> > don't forget Away3DLite(using in-build flash '3D' ) :
> >
> > http://away3d.com/away3d-lite-v1-0-fastest-and-smallest-3d-engine-in-
> > flash
> >
> > <http://away3d.com/away3d-lite-v1-0-fastest-and-smallest-3d-engine-in-
> > flash>which
> > doesnt have all the futures of 'full' 3d engines like Away3D or
> > Papervision,
> > but
> > can be appropriate on some 3d web projects where you dont really need
> > a full
> > feature set.
> >
> > On Fri, Apr 9, 2010 at 7:07 PM, allandt bik-elliott
> > (thefieldcomic.com) <
> > alla...@gmail.com> wrote:
> >
> > > awesome answer - thanks a lot guys
> > >
> > > a
> > >
> > > On 9 April 2010 16:07, Merrill, Jason  > >> wrote:
> > >
> > >> Second that for Papervision - though you should know Matt and I
> > >> are on
> > >> the same team - so we've discussed Papervision a lot together.  He's
> > >> right in his assessment.  If I did decide to drop PV3D, I'd probably
> > >> switch to Away3D.  To guess based on what I have read, and only
> > >> what I
> > >> have rolling around in my head as a general "feel" and no data to
> > >> back
> > >> this up (and I have only actually used Papervision), I would "guess
> > >> rank" them like this:
> > >>
> > >> Robustness of features and possibilities (best being #1):
> > >>
> > >> 1. Papervision3D
> > >> 2. Away3D
> > >> 3. Sandy3D
> > >> 4. Five3D (vector based - much smaller engine than the others, but
> > >> nice
> > >> small footprint)
> > >>
> > >>> From a performance perspective, my general feel/guess (best being
> > >>> #1):
> > >>
> > >> 1. Away3D/Five3D
> > >> 2. Papervision3D/Sandy3D
> > >>
> > >>> From an overall footprint size (lowest being #1):
> > >>
> > >> 1. Five3D
> > >> 2. Away3D/ Sandy3D(?)/Papervision3D
> > >>
> > >>> From the perspective of overall documentation and support and
> > >>> size of
> > >> user community, I would rank them (best being #1):
> > >>
> > >> 1. Papervision3D
> > >> 2. Away3D/Sandy3D
> > >> 3. Five3D
> > >>
> > >> So overall, for general project needs (depending on what you are
> > >> doing),
> > >> I would rank them as (best being #1):
> > >> 1. Papervision3D
> > >> 2. Away3D
> > >> 3. Sandy3D/Five3D
> > >>
> > >> Athough from what I understand, Away3D is a really nice engine and
> > >>

Re: [Flashcoders] current consensus of available Flash 3D engines?

2010-04-11 Thread Meinte van&#x27;t Kruis
don't forget Away3DLite(using in-build flash '3D' ) :

http://away3d.com/away3d-lite-v1-0-fastest-and-smallest-3d-engine-in-flash

<http://away3d.com/away3d-lite-v1-0-fastest-and-smallest-3d-engine-in-flash>which
doesnt have all the futures of 'full' 3d engines like Away3D or Papervision,
but
can be appropriate on some 3d web projects where you dont really need a full
feature set.

On Fri, Apr 9, 2010 at 7:07 PM, allandt bik-elliott (thefieldcomic.com) <
alla...@gmail.com> wrote:

> awesome answer - thanks a lot guys
>
> a
>
> On 9 April 2010 16:07, Merrill, Jason  >wrote:
>
> > Second that for Papervision - though you should know Matt and I are on
> > the same team - so we've discussed Papervision a lot together.  He's
> > right in his assessment.  If I did decide to drop PV3D, I'd probably
> > switch to Away3D.  To guess based on what I have read, and only what I
> > have rolling around in my head as a general "feel" and no data to back
> > this up (and I have only actually used Papervision), I would "guess
> > rank" them like this:
> >
> > Robustness of features and possibilities (best being #1):
> >
> > 1. Papervision3D
> > 2. Away3D
> > 3. Sandy3D
> > 4. Five3D (vector based - much smaller engine than the others, but nice
> > small footprint)
> >
> > >From a performance perspective, my general feel/guess (best being #1):
> >
> > 1. Away3D/Five3D
> > 2. Papervision3D/Sandy3D
> >
> > >From an overall footprint size (lowest being #1):
> >
> > 1. Five3D
> > 2. Away3D/ Sandy3D(?)/Papervision3D
> >
> > >From the perspective of overall documentation and support and size of
> > user community, I would rank them (best being #1):
> >
> > 1. Papervision3D
> > 2. Away3D/Sandy3D
> > 3. Five3D
> >
> > So overall, for general project needs (depending on what you are doing),
> > I would rank them as (best being #1):
> > 1. Papervision3D
> > 2. Away3D
> > 3. Sandy3D/Five3D
> >
> > Athough from what I understand, Away3D is a really nice engine and worth
> > looking into as well.
> >
> >
> > Jason Merrill
> >
> > Bank of  America  Global Learning
> > Learning & Performance Solutions
> >
> > Join the Bank of America Flash Platform Community  and visit our
> > Instructional Technology Design Blog
> > (note: these are for Bank of America employees only)
> >
> >
> >
> >
> >
> > -Original Message-
> > From: flashcoders-boun...@chattyfig.figleaf.com
> > [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Matt
> > Perkins
> > Sent: Friday, April 09, 2010 8:14 AM
> > To: Flash Coders List
> > Subject: Re: [Flashcoders] current consensus of available Flash 3D
> > engines?
> >
> >
> > I've used Papervision. It's not too hard to use once you get over the
> > learning curve. It's very well documented - why I choose to use it over
> > Away. There are books on Papervision and not any of the other ones, and
> > I learn best with a paper book beside me.
> >
> > On 4/9/2010 5:25 AM, allandt bik-elliott (thefieldcomic.com) wrote:
> > > hey guys
> > >
> > > i'm currently researching 3d engines for a project that i might be
> > working
> > > and i was wondering which, if any, of the 3d engines that people have
> > used
> > > and which they value the most
> > >
> > > papervision, sandy and away 3d seem to be the most prominent choices
> > and i'm
> > > leaning towards away 3d but i don't have enough information to really
> > make
> > > an informed choice
> > >
> > > love to hear from you
> > >
> > > a
> > > ___
> > > Flashcoders mailing list
> > > Flashcoders@chattyfig.figleaf.com
> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >
> >
> >
> > --
> > Matt Perkins
> > 
> > http://www.nudoru.com
> >
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
Meinte van't Kruis

Freelance Flash Platform Dev (mxml,actionscript,flex,air)

malatze
http://www.malatze.com/
http://blog.malatze.com/
http://www.linkedin.com/in/meinte
mei...@malatze.com
0617459744
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] RE: IE7 reload stageWidth bug

2010-04-08 Thread Meinte van&#x27;t Kruis
That timeout isnt excactly bulletproof, but what the heck, fixing this bug
never leads to a proper solution ;)

Mine would be having a minimum height for the site(lets say 800) and a
minimum width(lets say 600) and
whenever dimensions goes under that, it automatically assumes a width of 800
and a height of 600, because
most sites or banners(? never build one, but who knows)  have a certain
minimum which it wont function when going under that.

so in psuedo code

var newWidth:Number=(stage.stageWidth>800)?stage.stageWidth:800;

object.position=newWidth-object.width;

this fixes that zero'ing bug of IE and at the same time fixes the fact when
people resize the window to a width of say
100 and the site doesnt function anymore.

On Thu, Apr 8, 2010 at 7:04 PM, Mattheis, Erik (MIN - WSW) <
ematth...@webershandwick.com> wrote:

> Seem to have found a fix -
>
> I placed all my code that relies on stage.stageWidth and stageHeight in a
> function positionElements and delayed the invocation of it:
>
> setTimeout(positionElements,1);
>
> _ _ _
> Erik Mattheis
> Senior Web Developer
> Minneapolis
> T  952 346 6610
> C 612 377 2272
>
> Weber Shandwick
> Advocacy starts here.
>
> PRWeek Global Agency Report Card 2009 - Gold Medal Winner
> The Holmes Report Global Agency of the Year
> PR News Agency of the Year
>
> -Original Message-
> From: flashcoders-boun...@chattyfig.figleaf.com [mailto:
> flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Mattheis, Erik
> (MIN - WSW)
> Sent: Thursday, April 08, 2010 10:03 AM
> To: Flash Coders List
> Subject: [Flashcoders] IE7 reload stageWidth bug
>
> I'm up against the bug discussed here:
> http://code.google.com/p/swfobject/issues/detail?id=3 - on page reload,
> IE7 returns 0 for stage.stageWidth and stage.stageHeight.
>
> As a quick fix, I hardcoded stageWidth and stageHeight, but I need a
> solution that will allow the movie to figure things out on its own as it's
> meant to be embedded by others at any size they want.
>
> How have others dealt with this?
>
> _ _ _
> Erik Mattheis
> Senior Web Developer
> Minneapolis
> T  952 346 6610
> C 612 377 2272
>
> Weber Shandwick
> Advocacy starts here.
>
> PRWeek Global Agency Report Card 2009 - Gold Medal Winner
> The Holmes Report Global Agency of the Year
> PR News Agency of the Year
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
Meinte van't Kruis

Freelance Flash Platform Dev (mxml,actionscript,flex,air)

malatze
http://www.malatze.com/
http://blog.malatze.com/
http://www.linkedin.com/in/meinte
mei...@malatze.com
0617459744
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Weird Embeded Font Issue

2010-03-13 Thread Meinte van&#x27;t Kruis
odd, never seen anything like it. I always refrain from using static text
fields though. Mixing dynamic and static
fields which share the same font creates weird situations somehow. Just make
it dynamic, and if you want to be
sure it embeds correctly, just embed the glyphs used in that textfield
(that's what static textfield is supposed to
do internally, but somehow it messes up in some cases)

cheers,
Meinte

On Sat, Mar 13, 2010 at 11:29 AM, David Benman  wrote:

> I have an embeded font that renders really weird when published. I am using
> CS4 on the Mac and the font has been both embeded into a dynamic text field
> and used as the font face for a static field. I have gotten the same
> results, which as some of the characters render as really big ugly polygons.
> I have a picture here:
>
> http://dbenman.com/flash/weirdfont.png
>
> Note how some of the yellow characters are missing in the "Account
> Overview" title, but instead, I guess, render as really big polygons. The
> field is rotated by 2 degrees too.
>
> I remake the field and it works for awhile, but then starts rendering weird
> again.
>
> David Benman
> Interactive Developer
> d...@dbenman.com
> http://www.dbenman.com
> (508) 954-1202 (cell)
> (315) 637-8487 (home office)
>
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
Meinte van't Kruis

Freelance Flash Platform Dev (mxml,actionscript,flex,air)

malatze
http://www.malatze.com/
http://www.linkedin.com/in/meinte
mei...@malatze.com
0617459744
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] calender component

2010-03-06 Thread Meinte van&#x27;t Kruis
bit 101 released a new version of his minimal comps here:

http://www.minimalcomps.com/

<http://www.minimalcomps.com/>it includes a calendar, might be useful

On Sat, Mar 6, 2010 at 9:07 AM, Nathan Mynarcik  wrote:

> It's not free but...
>
> http://www.flabell.com/flash/Events-Tour-Calendar-271
>
> -Original Message-
> From: flashcoders-boun...@chattyfig.figleaf.com
> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Bassam M
> Sent: Saturday, March 06, 2010 1:00 AM
> To: Flashcoders@chattyfig.figleaf.com
> Subject: [Flashcoders] calender component
>
> Hi guys
> anyone know where can I get free calender event component
>
> I really need it
>
> Thanks
> Bassam
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
Meinte van't Kruis

Freelance Flash Platform Dev (mxml,actionscript,flex,air)

malatze
http://www.malatze.com/
http://www.linkedin.com/in/meinte
mei...@malatze.com
0617459744
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] OOP Tutorial

2010-03-06 Thread Meinte van&#x27;t Kruis
hmm, perhaps I was sounding a bit too snobbish. My point is really that,
espessially with
learning computer stuff, be it creative(photoshop etc.) or coding, alot of
resources
are available online, and I'm always surprised when people start about books
as soon
as there's some questions or tutorial requests, not trying to offend anyone
here, books are good
for alot of people, but to be fair, alot that is available in books is  at
least also available on the internet.

On Fri, Mar 5, 2010 at 10:33 PM, Paul Andrews  wrote:

> On 05/03/2010 18:04, Dave Watts wrote:
>
>> Guess it depends on the person, I have been a Flash developer for over 5
>>>> years
>>>> and have yet to open a book about it.
>>>>
>>>>
>>> Gosh. We can all learn something from a good book, no matter how
>>> accomplished we are.
>>>
>>> You might have learned something new or just plain faster.
>>>
>>>
>> Not to speak for Meinte, but different people learn things different
>> ways. Some people learn well by reading books, others don't. This has
>> nothing to do with how smart or accomplished we are or aren't.
>>
>>
>
> I like lynda.com but it doesn't mean I won't pick up a book too. Meinte
> might be surprised if he took a little time to pick up a book - it's a
> different perspective. I'm not suggesting that Meinte isn't a good developer
> because he hasn't picked up a book, but I think he has missed out by
> excluding that experience and it isn't a great idea to exclude a resource
> for five years for whatever reason. It's certainly a practice I'd discourage
> for anyone wanting to learn anything.
>
> My comment maybe is a bit "old school" in that I am totally surprised that
> someone would be learning something and apparently avoiding books. I guess
> it might be a phase of the digital revolution.
>
> Meinte - books are good. It makes me feel sad that you haven't picked one
> up.
>
> Paul
>
>
>
>  Dave Watts, CTO, Fig Leaf Software
>> http://www.figleaf.com/
>> http://training.figleaf.com/
>>
>> Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
>> GSA Schedule, and provides the highest caliber vendor-authorized
>> instruction at our training centers, online, or onsite.
>> _______
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.com
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>>
>>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
Meinte van't Kruis

Freelance Flash Platform Dev (mxml,actionscript,flex,air)

malatze
http://www.malatze.com/
http://www.linkedin.com/in/meinte
mei...@malatze.com
0617459744
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] OOP Tutorial

2010-03-05 Thread Meinte van&#x27;t Kruis
Guess it depends on the person, I have been a Flash developer for over 5
years
and have yet to open a book about it.

On Fri, Mar 5, 2010 at 5:22 PM, Karina Steffens wrote:

> Hi Susan,
>
> I wouldn't recommend relying just on online tutorials, or discussion posts
> for a something as huge as learning AS3 OOP. The best thing would be to get
> a book that covers the subject, such as Colin Moock's Essential
> ActionScript
> 3.0 from O'Reilly, or any one of the other excellent books on the subject
> (Rich Shupe's comes to mind, although I haven't read it myself I heard good
> things about it).
>
> To answer your question, you don't need to implement an interface to use
> another class as an object, you'd just instantiate it and call its methods.
> You would implement an interface if you wanted the class that contains the
> object to "pretend" to be that object, in which case it would implement the
> public methods and pass them along to its instance of the object. But
> again,
> a book would explain it much better than that...
>
> Karina
>
>
> > -Original Message-
> > From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-
> > boun...@chattyfig.figleaf.com] On Behalf Of Susan Day
> > Sent: 05 March 2010 3:48
> > To: Flash Coders List
> > Subject: [Flashcoders] OOP Tutorial
> >
> > Hi;
> > Now I would like to call my class Star from another class, but pass
> > different values to its variables. Do I need to implement the
> > inheriting
> > class as Star? I'm kinda lost here. I've been googling as3 oop but the
> > tutorials don't seem to address my needs. Can you help me understand
> > what it
> > is I'm looking to do so I can google up the appropriate tutorials?
> > TIA,
> > Susan
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
Meinte van't Kruis

Freelance Flash Platform Dev (mxml,actionscript,flex,air)

malatze
http://www.malatze.com/
http://www.linkedin.com/in/meinte
mei...@malatze.com
0617459744
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash inside Java Runtime on the desktop

2010-01-14 Thread Meinte van&#x27;t Kruis
This might have nothing to do with embedding flash within java, but maybe
it helps anyway. It's a bridge between AIR and Java, making it possible
for them to communicate, it's called Merapi:

http://code.google.com/p/merapi/

On Wed, Jan 13, 2010 at 9:50 AM, Snaijer, Paul de <
paul.de.snai...@logica.com> wrote:

> Hi all,
>
>
>
> Right now I am figuring out if it is possible to embed a Flash object
> (.swf) inside a Java application running on the desktop. It must also be
> possible to communicate from Java to Flash. A quick search on the net
> resulted in a library called jpackages
> (http://www.jpackages.com/jflashplayer/
> <http://www.jpackages.com/jflashplayer/> ). Does anyone have experiences
> with this? Or are there other/better solutions?
>
>
>
> Thanx for answering in advance!!
>
>
>
> Best regards,
>
> Paul
>
>
>
> Please help Logica to respect the environment by not printing this email  /
> Pour contribuer comme Logica au respect de l'environnement, merci de ne pas
> imprimer ce mail /  Bitte drucken Sie diese Nachricht nicht aus und helfen
> Sie so Logica dabei, die Umwelt zu schützen. /  Por favor ajude a Logica a
> respeitar o ambiente nao imprimindo este correio electronico.
>
>
>
> This e-mail and any attachment is for authorised use by the intended
> recipient(s) only. It may contain proprietary material, confidential
> information and/or be subject to legal privilege. It should not be copied,
> disclosed to, retained or used by, any other party. If you are not an
> intended recipient then please promptly delete this e-mail and any
> attachment and all copies and inform the sender. Thank you.
>
> _______
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
Meinte van't Kruis

Freelance Flash Platform Dev (mxml,actionscript,flex,air)

malatze
http://www.malatze.com/
http://www.linkedin.com/in/meinte
mei...@malatze.com
0617459744
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] hen's teeth...

2010-01-06 Thread Meinte van&#x27;t Kruis
alchemy is only good if you don't need to pass information back and forth
from AS3 to C alot of times.
So for instance, you would want to keep processing as long as you can within
alchemy, before passing
it back to AS3. A good example is JPEG encoding (and decoding done by
ByteArray.org), where alot
of processing can be done by alchemy before passing the encoded data back to
flash, example:

http://segfaultlabs.com/blog/post/asynchronous-jpeg-encoding

here you can also compare the time it takes native code and alchemy.

but anyway.. getting a bit off-topic..

On Wed, Jan 6, 2010 at 6:38 PM, Meinte van't Kruis  wrote:

> Joa Ebert's apparat can be found here:
> http://blog.joa-ebert.com/2009/08/11/apparat-is-now-open-source/
> <http://blog.joa-ebert.com/2009/08/11/apparat-is-now-open-source/>As far
> as Cannassa is concerned, he is best known for Haxe, which uses alchemy
> opcodes here and
> there(with his flash.memory implementation, but I'm no haxe expert), here
> is the url:
> http://ncannasse.fr/blog/virtual_memory_api
>
> Offcourse it all still runs in the same Flash sandbox, I believe the
> performance gains are basically due to
> the fact that alchemy compiled code can do memory access faster by using
> opcodes which arent
> available in AS3 (don't ask me why). Anyway, I'm no expert, but a bit of it
> is explained here:
>
> http://ncannasse.fr/blog/adobe_alchemy
>
> On Wed, Jan 6, 2010 at 12:19 PM, John McCormack wrote:
>
>> Meinte van't Kruis wrote:
>>
>>> Seeing the whole apparat project of Joa Ebert or the stuff Nicolas
>>> Cannasse
>>>
>>>
>> Are their projects available to see?
>>
>>  implementing some alchemy to speed things up.
>>>
>>>
>> As far as I understand it, the C++ code is still converted into Flash's
>> byte codes, so any performance gain must have been from the algorithms in
>> the C++ code.
>>
>> How much difference did it make?
>>
>> John
>>
>>
>>
>>  On Tue, Jan 5, 2010 at 4:07 PM, Paul Andrews  wrote:
>>>
>>>
>>>
>>>> Meinte van't Kruis wrote:
>>>>
>>>>
>>>>
>>>>> Actually, I think performance should be on top of the priority list for
>>>>> any
>>>>> Flash developer.
>>>>> Unresponsive flash apps are the number one irritation imho.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>> LOL, I have yet to write one and I have yet to use any techniques from
>>>> my
>>>> assembler or C++ days. In most cases Flash provides more than adequate
>>>> responsiveness with very little special care.
>>>>
>>>> The top of the priority list is a user experience that makes the client
>>>> happy and performance and responsiveness has yet to be a deciding issue.
>>>>
>>>> The most challenging responsiveness issue I have had has been parsing
>>>> large
>>>> text files for data (several megabytes in size) using AS2 while keeping
>>>> a
>>>> visualisation animating smoothly and preventing script time-outs. It was
>>>> very much the rare exception.
>>>>
>>>> I realise that for some people manipulating large numbers of animated
>>>> clips
>>>> or sprites, performance could be an issue, but I think such applications
>>>> of
>>>> flash aren't the mainstream.
>>>>
>>>> Paul
>>>>
>>>> ___
>>>> Flashcoders mailing list
>>>> Flashcoders@chattyfig.figleaf.com
>>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>> ___
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.com
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>
>
>
> --
> Meinte van't Kruis
>
> Freelance Flash Platform Dev (mxml,actionscript,flex,air)
>
> malatze
> http://www.malatze.com/
> http://www.linkedin.com/in/meinte
> mei...@malatze.com
> 0617459744
>



-- 
Meinte van't Kruis

Freelance Flash Platform Dev (mxml,actionscript,flex,air)

malatze
http://www.malatze.com/
http://www.linkedin.com/in/meinte
mei...@malatze.com
0617459744
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] hen's teeth...

2010-01-06 Thread Meinte van&#x27;t Kruis
Joa Ebert's apparat can be found here:
http://blog.joa-ebert.com/2009/08/11/apparat-is-now-open-source/
<http://blog.joa-ebert.com/2009/08/11/apparat-is-now-open-source/>As far as
Cannassa is concerned, he is best known for Haxe, which uses alchemy opcodes
here and
there(with his flash.memory implementation, but I'm no haxe expert), here is
the url:
http://ncannasse.fr/blog/virtual_memory_api

Offcourse it all still runs in the same Flash sandbox, I believe the
performance gains are basically due to
the fact that alchemy compiled code can do memory access faster by using
opcodes which arent
available in AS3 (don't ask me why). Anyway, I'm no expert, but a bit of it
is explained here:

http://ncannasse.fr/blog/adobe_alchemy

On Wed, Jan 6, 2010 at 12:19 PM, John McCormack wrote:

> Meinte van't Kruis wrote:
>
>> Seeing the whole apparat project of Joa Ebert or the stuff Nicolas
>> Cannasse
>>
>>
> Are their projects available to see?
>
>  implementing some alchemy to speed things up.
>>
>>
> As far as I understand it, the C++ code is still converted into Flash's
> byte codes, so any performance gain must have been from the algorithms in
> the C++ code.
>
> How much difference did it make?
>
> John
>
>
>
>  On Tue, Jan 5, 2010 at 4:07 PM, Paul Andrews  wrote:
>>
>>
>>
>>> Meinte van't Kruis wrote:
>>>
>>>
>>>
>>>> Actually, I think performance should be on top of the priority list for
>>>> any
>>>> Flash developer.
>>>> Unresponsive flash apps are the number one irritation imho.
>>>>
>>>>
>>>>
>>>>
>>>>
>>> LOL, I have yet to write one and I have yet to use any techniques from my
>>> assembler or C++ days. In most cases Flash provides more than adequate
>>> responsiveness with very little special care.
>>>
>>> The top of the priority list is a user experience that makes the client
>>> happy and performance and responsiveness has yet to be a deciding issue.
>>>
>>> The most challenging responsiveness issue I have had has been parsing
>>> large
>>> text files for data (several megabytes in size) using AS2 while keeping a
>>> visualisation animating smoothly and preventing script time-outs. It was
>>> very much the rare exception.
>>>
>>> I realise that for some people manipulating large numbers of animated
>>> clips
>>> or sprites, performance could be an issue, but I think such applications
>>> of
>>> flash aren't the mainstream.
>>>
>>> Paul
>>>
>>> ___
>>> Flashcoders mailing list
>>> Flashcoders@chattyfig.figleaf.com
>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>>
>>>
>>>
>>
>>
>>
>>
>>
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
Meinte van't Kruis

Freelance Flash Platform Dev (mxml,actionscript,flex,air)

malatze
http://www.malatze.com/
http://www.linkedin.com/in/meinte
mei...@malatze.com
0617459744
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] hen's teeth...

2010-01-06 Thread Meinte van&#x27;t Kruis
I was also thinking in the lines of alchemy, and the amazing stuff people
pull of using that.
Seeing the whole apparat project of Joa Ebert or the stuff Nicolas Cannasse
pulls off...

When reading about that, I think a bit of a c++ or even assembler knowledge
would've
helped a great deal, since I'm playing with alchemy a bit myself now as
well.

I realise that stuff isn't found in the average Flash project, allthough I
did work in a project
not too long ago where they are implementing some alchemy to speed things
up.

On Tue, Jan 5, 2010 at 4:07 PM, Paul Andrews  wrote:

> Meinte van't Kruis wrote:
>
>> Actually, I think performance should be on top of the priority list for
>> any
>> Flash developer.
>> Unresponsive flash apps are the number one irritation imho.
>>
>>
>>
> LOL, I have yet to write one and I have yet to use any techniques from my
> assembler or C++ days. In most cases Flash provides more than adequate
> responsiveness with very little special care.
>
> The top of the priority list is a user experience that makes the client
> happy and performance and responsiveness has yet to be a deciding issue.
>
> The most challenging responsiveness issue I have had has been parsing large
> text files for data (several megabytes in size) using AS2 while keeping a
> visualisation animating smoothly and preventing script time-outs. It was
> very much the rare exception.
>
> I realise that for some people manipulating large numbers of animated clips
> or sprites, performance could be an issue, but I think such applications of
> flash aren't the mainstream.
>
> Paul
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
Meinte van't Kruis

Freelance Flash Platform Dev (mxml,actionscript,flex,air)

malatze
http://www.malatze.com/
http://www.linkedin.com/in/meinte
mei...@malatze.com
0617459744
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] hen's teeth...

2010-01-05 Thread Meinte van&#x27;t Kruis
Actually, I think performance should be on top of the priority list for any
Flash developer.
Unresponsive flash apps are the number one irritation imho.

On Tue, Jan 5, 2010 at 12:19 PM, Paul Andrews  wrote:

> Meinte van't Kruis wrote:
>
>> I'd say, learn a lower-level language. I've worked with some guys with an
>> assembly and c++ background, and they really knew how to squeeze the last
>> drops of performance out of a flash app.
>>
>>
> That's far less of a concern for most Flash applications and faster
> processors and increased performance by the player help. Performance always
> will be a concern for some situations but I would never advise anyone to
> learn assembly language or C++ with that in mind for AS3. Better to learn
> from AS3 Gurus.
>
> The people (like me) that have passed through the assembly and C++ route
> have done so not as a way to become better AS3 developers but because our
> situations required that we program assembler and C++. Those skills help us
> with AS3 but aren't an efficient route to take. Don't go there.
>
> Paul
>
>  On Tue, Jan 5, 2010 at 11:11 AM, Paul Andrews  wrote:
>>
>>
>>
>>> Karl DeSaulniers wrote:
>>>
>>>
>>>
>>>> Duly noted. I dont think I am so much worried that I should know C# in
>>>> order to know or learn AS3, but more,
>>>> if I do take on C#, that I can incorporate my skills and be able to
>>>> expand
>>>> beyond the barriers so-to-speak
>>>> as a flash developer and programer. Also, because I am told that they
>>>> are
>>>> similar, will it may make it easier to learn
>>>> C# if I already know AS3?
>>>>
>>>>
>>>>
>>> Certainly. The first language is always the hardest, then most concepts
>>> will travel between languages even if there are differences in the way
>>> they
>>> are implemented.
>>>
>>> Paul
>>>
>>>
>>>
>>>
>>>> Karl
>>>>
>>>> On Jan 5, 2010, at 3:22 AM, Paul Andrews wrote:
>>>>
>>>>  Dave Watts wrote:
>>>>
>>>>
>>>>> Perhaps you can explain how AS3 is "narrow". For years Pascal was THE
>>>>>>
>>>>>>
>>>>>>> language to learn programming then eventually it migrated to "Java"
>>>>>>> and
>>>>>>> I
>>>>>>> don't consider AS3 to be a limited language or narrow in it's
>>>>>>> outlook.
>>>>>>> I
>>>>>>> think it's rather a good and accessible first language to learn.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> AS3 is designed to do one thing: build Flash applications. Pascal and
>>>>>> Java are both general-purpose programming languages. You can build all
>>>>>> sorts of different programs in them, and more importantly, you can
>>>>>> build programs that are really nothing but wrappers for specific
>>>>>> examples, without a lot of extra infrastructure needed to run them.
>>>>>> You can write a single Java class and run it from a command prompt.
>>>>>>
>>>>>>  I think Adobe is rather missing a trick in not having a stand-alone
>>>>>>
>>>>>>
>>>>> version of Actionscript.
>>>>>
>>>>>
>>>>>
>>>>>>  Your main point may be that AS3 is really a client side language, I'm
>>>>>>
>>>>>>
>>>>>>> really
>>>>>>> not sure what you perceive as a limitation. As a language it supports
>>>>>>> just
>>>>>>> about all the notions of a modern OO language, so I don't think it's
>>>>>>> really
>>>>>>> limiting at all.
>>>>>>>
>>>>>>> Most of the programming principles from Java and the like are easily
>>>>>>> implemented in AS3, so I have no idea where the problem is.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> Dealing with concurrency is a common programming problem. I wouldn't
>>>>>> want to demonstrate concurrency solutions in AS3.
>>>>>>
>>>>&

Re: [Flashcoders] hen's teeth...

2010-01-05 Thread Meinte van&#x27;t Kruis
arm (and much to be gained) in learning subsequent
>>> languages once the principle concepts are grasped with the first language.
>>> What is a mistake is to try and learn two new languages at the same time and
>>> it would also be misleading to say that learning another language is a
>>> prerequisite for learning AS3.
>>>
>>>> As a ColdFusion developer, I see the same sort of thing all the time.
>>>> People learn how to write ColdFusion, as it's very easy, but they
>>>> develop a tunnel vision of sorts, and they don't understand a lot of
>>>> things about programming in general (like concurrency) because it's
>>>> not an issue in that language.
>>>>
>>>>  I understand that view completely. I have a Computer Science degree and
>>> spent several years working on writing operating systems and low-level disk
>>> controllers. Many of the people I have worked with have grown up in a
>>> specific development environment and don't stray beyond it. They are
>>> sometimes rather surprised if I use a technique that is used in OS
>>> synchronisation.
>>>
>>> You mention concurrency and that is something Adobe needs to address (I'm
>>> sure it won't be easy to make the Flash infrastructure thread safe) and we
>>> both know that it will improve performance greatly in the player where there
>>> are multiple cores available. I'm sure it will also swell the posting on
>>> flashcoders!
>>>
>>> Currently it's necessary for developers to know Actionscript for Flash
>>> and Flex plus something else for server interaction. I'd rather see the
>>> second language being useful to allow people to complete their pipeline to
>>> the server than be a language that may not suit that well. It's also
>>> important in these economic climes, that the effort put in suits the market
>>> demand for expertise. It's unfortunate in some ways that Adobe haven't
>>> pushed the boat a little further with a good server-side actionscript
>>> implementation to make that access to data even easier.
>>>
>>> I used to develop in a proprietary environment with some similarities to
>>> Flash/Actionscript and used to write "headless" applications in it,
>>> replacing server-side scripting even though the language and environment was
>>> primarily designed to work with a GUI. The great thing was that other team
>>> members who had only learned to use that particular system could take on the
>>> subsequent development and maintenance of the code without having to learn
>>> an extra language. The fact that they were limited to one
>>> environment/language didn't mean that they weren't able to produce very
>>> capable applications.
>>>
>>> A lot of people want to learn Actionscript and I'd rather they didn't
>>> think that they had to learn another language to do so, or mistakenly
>>> attempt to take on two new languages as an entry to programming at the same
>>> time.
>>>
>>> Paul
>>>
>>>> Dave Watts, CTO, Fig Leaf Software
>>>> http://www.figleaf.com/
>>>>
>>>> Fig Leaf Software provides the highest caliber vendor-authorized
>>>> instruction at our training centers in Washington DC, Atlanta,
>>>> Chicago, Baltimore, Northern Virginia, or on-site at your location.
>>>> Visit http://training.figleaf.com/ for more information!
>>>> ___
>>>> Flashcoders mailing list
>>>> Flashcoders@chattyfig.figleaf.com
>>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>>>
>>>>
>>>>
>>> ___
>>> Flashcoders mailing list
>>> Flashcoders@chattyfig.figleaf.com
>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>>
>>
>> Karl DeSaulniers
>> Design Drumm
>> http://designdrumm.com
>>
>> ___
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.com
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
Meinte van't Kruis

Freelance Flash Platform Dev (mxml,actionscript,flex,air)

malatze
http://www.malatze.com/
http://www.linkedin.com/in/meinte
mei...@malatze.com
0617459744
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Erratic behaviour of TextEvent.LINK

2009-12-14 Thread Meinte van&#x27;t Kruis
I worked a few times with HTMLText and the Link event, and didn't run into
any significant problems. If I were you, i'd not be looking at any problems
with
that event, but more or less see what the differences are in the Director
environment.

I've not worked with Director alot, but does it embed it's own flash player?
And which
version does it embed, maybe there's some differences there.

good luck,
Meinte

On Mon, Dec 14, 2009 at 4:15 PM, Wenzler, Thomas  wrote:

> Hi list,
> I'm currently building an application with FlashDevelop/FlashIDE that
> gets embedded into a Director standalone later on.
> My content gets loaded from xml files with CDATA sections containing
> html-formatted text like this chunk here:
> Marker: test
> oder PDF:mein pdf
> oder Link : mydomain.de
> ansteuern.
> The event is then captured by my swf and sent to the embedding Director
> App via LocalConnection.
> My problem is that at random one of my href's seems not to be
> captured(no linkage, no hand cursor, like it was plain text), even
> worse, testing it standalone yields different results from testing it
> with Director(in flash, all links work, in director one fails), and
> worst of all embedding the same CDATA in different xml files yields
> different failures (flash fails with one of the links embedded that
> worked flawlwssly in another xml) with the same data-I can see no method
> in this madness.
> Fruitless efforts to debug this included setting the textfields to
> selectable(after googling the TextEvent) to no avail.
> So I need
> a) some hint how to deal with textEvent.LINK properly and error-free
> or
> b) a plan B to capture links from html-formatted xml nodes and trigger
> some functions in Director.
>
> Kind of frustrated at the moment, glad for every input.
> Thanks in advance
> Thomas
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
Meinte van't Kruis

Freelance Flash Platform Dev (mxml,actionscript,flex,air)

malatze
http://www.malatze.com/
http://www.linkedin.com/in/meinte
mei...@malatze.com
0617459744
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] New portfolio site online (and some 10.1 issues withit)

2009-12-08 Thread Meinte van&#x27;t Kruis
Hey Gregory,

Thanks! The insects are basically 2 concepts combined: One where the
particles are gravitated towards a center point(street light) and the other
where they have their own random 'wandering' force.

Check out this excellent resource:

http://www.shiffman.net/teaching/nature/

<http://www.shiffman.net/teaching/nature/>Which helped me alot, espessially
the particle and steering part. It is for
processing, but easily applied to Actionscript.

cheers,
Meinte

On Tue, Dec 8, 2009 at 7:26 PM, Gregory Boudreaux wrote:

> Looks good.
>
> How did you do the insects around the street light?
>
> gregb
>
> -Original Message-
> From: flashcoders-boun...@chattyfig.figleaf.com
> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Meinte
> van't Kruis
> Sent: Tuesday, December 08, 2009 7:38 AM
> To: Flash Coders List
> Subject: [Flashcoders] New portfolio site online (and some 10.1 issues
> withit)
>
> Hey guys,
>
> As I recently started freelancing, I updated my portfolio site, it's at:
>
> http://www.malatze.com/
>
> Tell me what you think about it and how it works for you(any issues?)
>
> One issue I did find(maybe some other people have this same problem) is
> an
> issue with the introduction text below the menu. When I click the
> colored
> links
> in the text all goes well. But in flash player 10.1 beta, the text
> dissapears after
> following 2 links, weirdness, if you see the same stuff happening, let
> me
> know.
>
> thanks!
>
> --
> Meinte van't Kruis
>
> Freelance Flash Platform Dev (mxml,actionscript,flex,air)
>
> malatze
> http://www.malatze.com/
> http://www.linkedin.com/in/meinte
> mei...@malatze.com
> 0617459744
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
Meinte van't Kruis

Freelance Flash Platform Dev (mxml,actionscript,flex,air)

malatze
http://www.malatze.com/
http://www.linkedin.com/in/meinte
mei...@malatze.com
0617459744
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] New portfolio site online (and some 10.1 issues with it)

2009-12-08 Thread Meinte van&#x27;t Kruis
Hey guys,

As I recently started freelancing, I updated my portfolio site, it's at:

http://www.malatze.com/

Tell me what you think about it and how it works for you(any issues?)

One issue I did find(maybe some other people have this same problem) is an
issue with the introduction text below the menu. When I click the colored
links
in the text all goes well. But in flash player 10.1 beta, the text
dissapears after
following 2 links, weirdness, if you see the same stuff happening, let me
know.

thanks!

-- 
Meinte van't Kruis

Freelance Flash Platform Dev (mxml,actionscript,flex,air)

malatze
http://www.malatze.com/
http://www.linkedin.com/in/meinte
mei...@malatze.com
0617459744
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Cross-domain policy - why is Flex more forgiving thanFlash?

2009-03-31 Thread Meinte van&#x27;t Kruis
Still, I agree with John, on the XML part. If everybody and everything can
read an XML on a random server, why can't Flash, it doesn't make any sense.

On Tue, Mar 31, 2009 at 5:33 PM, Muzak  wrote:

> And, I've also discovered that Flex is more forgiving. I can pull in
>> content from another domain without said crossdomain.xml by using a
>> HTTPService component.
>>
>
> That's not correct.
> Doesn't matter if it's Flex or Flash. It's the Flash Player that enforces
> security, not the tool that created the swf.
> Different rules apply to different swf versions, so if Flex compiles to fp9
> and Flash CS4 compiles to fp10, you may see different results.
> Even minor revisions may show different results (e.g. 9.0.45 vs 9.0.124).
>
>  But why on earth is that so? I mean, the same file can easily be read by
>> an ordinary browser!? What on earth could i concoct with my devious,
>> malignant Flash application with the same file?
>>
>
> Well, it's not about what your intensions are, they may be all good,
> but not everyone has those same good intensions :)
>
> Think about banner ads that are displayed *wherever*.
> Do you really want those to be able to read/load/execute anything they feel
> like from your site/server?
>
> There's quite alot of info on the Adobe site regarding security:
> http://www.adobe.com/devnet/flashplayer/security.html
> http://www.adobe.com/devnet/security/
> http://www.adobe.com/products/flashplayer/security/
>
> regards,
> Muzak
>
> - Original Message - From: "Johan Nyberg" <
> johan.nyb...@webguidepartner.com>
> To: 
> Sent: Tuesday, March 31, 2009 2:17 PM
> Subject: [Flashcoders] Cross-domain policy - why is Flex more forgiving
> thanFlash?
>
>
>  I'm getting tired of Flash's unforgiving cross-domain policy. Why can't I
>> read an xml-feed, content produced by a php file or a simple text file
>> without Flash wagging that finger in my face saying "No, no, you can't, not
>> without that site allowing your site access in the crossdomain.xml".
>>
>> But why on earth is that so? I mean, the same file can easily be read by
>> an ordinary browser!? What on earth could i concoct with my devious,
>> malignant Flash application with the same file?
>>
>> And, I've also discovered that Flex is more forgiving. I can pull in
>> content from another domain without said crossdomain.xml by using a
>> HTTPService component.
>>
>> I would greatly appreciate if anyone could shed some light on this. And,
>> if anyone can point out if I'm doing anything wrong here.
>>
>> But please don't tell me to get my domain name into that other servers
>> cross-domain policy file. There are many situations where this is not
>> possible, and where it would still be legitimate to read content from that
>> site.
>>
>> And, as I said before, the browser doesn't need that permission. Nor does
>> Flex, apparently.
>>
>> Regards,
>>
>> --
>> Johan Nyberg
>>
>> Web Guide Partner
>>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash CS4 selecting library temporarily 'hangs' the computer

2009-03-12 Thread Meinte van&#x27;t Kruis
Hmmm, well, everything does come from the network. But it doesnt really
lockup most of the time, it's just unreponsive/hanging for halve a minute.
I'm not sure what you mean by pref's files, you mean the local cache?

On Thu, Mar 12, 2009 at 2:24 PM, Glen Pike wrote:

> Hi,
>
>   It's not a network thing is it??
> We keep having to reset our pref's files for various Adobe products
> when a network share drops off... - when the program tries to open a browse
> dialog at the last known location that is on a network share that has
> disappeared, the program locks up.  Have seen this with PhotoShop / InDesign
> so far - we have to keep deleting the prefs for each software.  I hope CS4
> has not done this too...
>
>   Glen
>
>
> Meinte van't Kruis wrote:
>
>> Hi guys,
>>
>> Does anyone share the experience when selecting the library in flash cs4,
>> it
>> stalls the computer for up to halve a minute? It's really annoying,
>> happens
>> alot and doesn't happen in Flash cs3, with the same files, so I guess it's
>> nothing to do with the size of the library.
>>
>> At first I thought it was switching panels that made it happen, but it
>> only
>> happens while selecting the library. I cannot find any info on it in the
>> bug
>> database
>> of Adobe, nor with google. Should I try reinstalling cs4(gonna cost half
>> the
>> day...sigh), I've heard that helps in some cases, but frankly, if anyone
>> has
>> a
>> better solution that's be great.
>>
>> Best regards,
>> Meinte
>>
>>
>>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Flash CS4 selecting library temporarily 'hangs' the computer

2009-03-12 Thread Meinte van&#x27;t Kruis
Hi guys,

Does anyone share the experience when selecting the library in flash cs4, it
stalls the computer for up to halve a minute? It's really annoying, happens
alot and doesn't happen in Flash cs3, with the same files, so I guess it's
nothing to do with the size of the library.

At first I thought it was switching panels that made it happen, but it only
happens while selecting the library. I cannot find any info on it in the bug
database
of Adobe, nor with google. Should I try reinstalling cs4(gonna cost half the
day...sigh), I've heard that helps in some cases, but frankly, if anyone has
a
better solution that's be great.

Best regards,
Meinte

-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Lint for ActionScript?

2009-03-08 Thread Meinte van&#x27;t Kruis
flex develop has a bit more of the 'you did something wrong' warnings
before compiling. But frankly, I find it just plain annoying. I love hitting
ctrl-s every few seconds, and after each hit flexdev will check and find
new errors of unfinished code lines.

On Fri, Mar 6, 2009 at 7:13 PM, Todd Kerpelman  wrote:

> Oh, I use FD and love it. But I'm looking for something that can give me
> more advanced compiler warnings, like, "Hey, you declared this variable and
> never used it" or "You've got a fall-through in a case statement" or "This
> piece of code appears to be unreachable."
>
> I've checked out the EnabledWarnings.xml file, which is helpful, but it
> doesn't really give me everything I was hoping for.
>
> --T
>
> 2009/3/5 liutoday 
>
> >
> >
> >
> > > Date: Thu, 5 Mar 2009 17:11:49 -0800
> > > From: t...@kerp.net
> > > To: flashcoders@chattyfig.figleaf.com
> > > Subject: [Flashcoders] Lint for ActionScript?
> > >
> > > Hey, guys.
> > >
> > > Anybody have any decent Lint-like tools that they've been using for
> > > ActionScript? Google hasn't given me anything very useful, except the
> > > recommendation that a Lint tool for JavaScript might work, which I'm
> > kinda
> > > skeptical about.
> > >
> > > --T
> > > ___
> > > Flashcoders mailing list
> > > Flashcoders@chattyfig.figleaf.com
> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> >
> > how about flahDevelop.
> >
> > _
> > Live Search视频搜索,快速检索视频的利器!
> > http://www.live.com/?scope=video
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Full screen video in a full screen Flash..?

2009-02-05 Thread Meinte van&#x27;t Kruis
if you're using flvplayback, set the property

fullScreenTakeOver

to false

On Mon, Feb 2, 2009 at 3:41 PM, Matt S.  wrote:

> Are you loading the video player into its own holder mc? If you do
> that, then place that holder on the display list, then set
>
> if (stage.displayState == StageDisplayState.NORMAL) {
>stage.displayState =
> StageDisplayState.FULL_SCREEN;
> }
>
> it should go full screen without FS'ing the video.
>
> .m
>
> On Mon, Feb 2, 2009 at 8:23 AM, Andrew Murphy 
> wrote:
> > Hello. :)
> >
> > Is there a way to have a full screen Flash (not a video) which has a
> video
> > player in it, without having the video itself jump to full screen?
> >
> > What I'd like to do is have a Flash piece which goes full screen, then at
> > some points in the user's interaction with it there may be a video player
> in
> > this Flash piece.  The user would then have the option to view the video
> > full screen within the already full screen Flash piece.
> >
> > Currently whenever I load a video player into a full screen non-video
> Flash
> > the video jumps to full screen the moment it loads.
> >
> >
> > 
> > Andrew Murphy
> > Interactive Media Specialist
> >   amur...@delvinia.com
> >
> > Delvinia
> > 214 King Street West, Suite 214
> > Toronto Canada M5H 3S6
> >
> > P 416.364.1455 ext. 232  F 416.364.9830  W www.delvinia.com
> >
> > CONFIDENTIALITY NOTICE
> > This email message may contain privileged or confidential information. If
> > you are not the intended recipient or received this communication by
> error,
> > please notify the sender and delete the message without copying or
> > disclosing it.
> >
> > AVIS DE CONFIDENTIALITÉ
> > Ce message peut contenir de l'information légalement privilégiée ou
> > confidentielle. Si vous n'êtes pas le destinataire ou croyez avoir reçu
> par
> > erreur ce message, nous vous saurions gré d'en aviser l'émetteur et d'en
> > détruire le contenu sans le communiquer a d'autres ou le reproduire.
> >
> >
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Frame rate

2008-12-22 Thread Meinte van&#x27;t Kruis
actually, most browsers won't even allow the flash player to run at a higher
rate than 60 (except firefox I think)

On Mon, Dec 22, 2008 at 10:43 AM, allandt bik-elliott (thefieldcomic.com) <
alla...@gmail.com> wrote:

> enter_frame events will cause the plugin to chug quite a lot i'd imagine
>
> On Sat, Dec 20, 2008 at 3:46 PM, Cor  wrote:
>
> > It depends.
> > Pure AS3, so no timeline at all.
> > If you are using ENTER_FRAME, it is triggered 3 times more often.
> > Otherwise, I guess, it has no effect.
> >
> >
> > -Original Message-
> > From: flashcoders-boun...@chattyfig.figleaf.com [mailto:
> > flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of e...@hush.com
> > Sent: zaterdag 20 december 2008 16:39
> > To: flashcoders@chattyfig.figleaf.com
> > Subject: [Flashcoders] Frame rate
> >
> > In a pure AS3 project with a very small file size, what is the
> > effect of a frame rate of 90 or above versus the standard 30. Size,
> > performance, "look", etc. Thanks everyone.
> >
> > -e
> >
> > --
> > Free information on becoming a Graphic Designer. Click Now!
> >
> >
> http://tagline.hushmail.com/fc/PnY6qxunKhpGlY7xU2RLPWl9oeVffVk6oqkFlKDEWccoIaJ1UeB8T/
> >
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > No virus found in this incoming message.
> > Checked by AVG - http://www.avg.com
> > Version: 8.0.176 / Virus Database: 270.9.19/1857 - Release Date:
> 19-12-2008
> > 10:09
> >
> >
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] conversion avi to flv

2008-12-19 Thread Meinte van&#x27;t Kruis
actually, you can encode to on2 with ffmpeg, it takes a bit of tweaking, but
it does work(with the help of some other programs), here's the link(actually
not sure it's legal, it depends on the on2 codec which used to be
distributed):

http://sh0dan.blogspot.com/2006/09/command-line-flash-8-flv-encoding.html

On Fri, Dec 19, 2008 at 7:45 AM, Latcho  wrote:

> Mind the gap:
>
> ffmpeg will not encode the better video codec on2VP6 but only the old
> Sorenson Spark.
> With flash player  > v9.1 you can load mp4's which you can batch with
> ffmpeg serverside.
> For settings and batch examples check my post "Re: [Flash_Tiger] Fast FLV
> encoding, ease of use" from 07-dec-'08 18:06 on the emailing list
> Flash_tiger @ yahoogroups.com
>
> Latcho
>
>
>
> Ian Thomas wrote:
>
>> ffmpeg
>>
>> http://ffmpeg.mplayerhq.hu/
>>
>> HTH,
>>   Ian
>>
>> On Thu, Dec 18, 2008 at 3:37 AM, 2lakes <2la...@ianhobbs.net> wrote:
>>
>>
>>> Hi, Any quick tips on a Windows .avi to .flv converter app?
>>> Also if any server based app would be appreciated.
>>>
>>> Cheers Ian
>>>
>>> Ian Hobbs Media
>>> ___
>>> Flashcoders mailing list
>>> Flashcoders@chattyfig.figleaf.com
>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>>
>>>
>>>
>> ___
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.com
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>>
>>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] passing on ... args

2008-11-28 Thread Meinte van&#x27;t Kruis
I think I tried something with casting to array or using Function.apply, I'm
pretty sureFunction.apply or call does the trick

after messing around with it I decided it wasnt worth the mess and used
array's instead..

On Fri, Nov 28, 2008 at 4:18 PM, Latcho <[EMAIL PROTECTED]> wrote:

>
> Hi List,
>
> How can I pass a variable amount off function arguments to a next function
> ?
> Below the way I tried and which fails. While passing them they get combined
> I'd like to remain 5 variables for args_B and not a single string.
> Stijn
>
> CODE:
>
> testargs( "a","b",{z:'zz'},[1,2,3],"c" )
>
> private function testargs(... argsA):void
> {
>  trace("#args_A:", argsA.length)///
> traces: #args_A:   5
>  passingArgs(argsA)
> }
>
> public function passingArgs(... argsB):void
> {
>  trace("#args_B:",argsB.length)   ///
> traces: #args_B:   1for(var i:int=0;i trace(argsB[i]); }  // which traces a string: a,b,[object Object],1,2,3,c
> };
>
>
> Latcho
>
>
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] can Flex classes be used within (Flash CS3) along with ActionScript?

2008-11-28 Thread Meinte van&#x27;t Kruis
oops, that's not true, adding swc simply makes the flash compile if you use
any classes in the swc without compiling them, it's what I use to exclude
classes from compiling with actionscript, which isn't what you actually want

On Thu, Nov 27, 2008 at 4:21 PM, Meinte van't Kruis <[EMAIL PROTECTED]>wrote:

> what's so hacky about it? To my knowledge you point to an SWC the same way
> you would point to actionscript classes, adding it to your classpath
>
>
> On Wed, Nov 26, 2008 at 10:18 PM, Eric E. Dolecki <[EMAIL PROTECTED]>wrote:
>
>> Oops - I didn't see that CS3 part. CS4 makes it super easy to link to a
>> SWC
>> to use classes in it, but CS3 is even nastier hack land.
>>
>> On Wed, Nov 26, 2008 at 4:06 PM, Anthony Pace <[EMAIL PROTECTED]
>> >wrote:
>>
>> > The editor sucks, still.  We need something like Aptana for AS3.
>> >
>> > Don't use the flash CS3 IDE if you can avoid; however, it is pretty good
>> > for animations; yet, if you want to do animations, go to cs4... bones
>> and IK
>> > and bears oh my.
>> >
>> >
>> > Eric E. Dolecki wrote:
>> >
>> >> Using a SWC, yes. But it's nasty work IMO. Use Flex Builder if you have
>> >> it.
>> >>
>> >> On Wed, Nov 26, 2008 at 3:47 PM, BOYD SPEER <[EMAIL PROTECTED]> wrote:
>> >>
>> >>
>> >>
>> >>> can Flex classes be imported and used within (Flash CS3) along with
>> >>> ActionScript?
>> >>>
>> >>> -Boyd
>> >>> ___
>> >>> Flashcoders mailing list
>> >>> Flashcoders@chattyfig.figleaf.com
>> >>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>> >>>
>> >>>
>> >>>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >
>> > ___
>> > Flashcoders mailing list
>> > Flashcoders@chattyfig.figleaf.com
>> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>> >
>>
>>
>>
>> --
>> http://ericd.net
>> Interactive design and development
>> ___
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.com
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>
>
>
> --
> M.A. van't Kruis
> http://www.malatze.nl/
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] can Flex classes be used within (Flash CS3) along with ActionScript?

2008-11-27 Thread Meinte van&#x27;t Kruis
what's so hacky about it? To my knowledge you point to an SWC the same way
you would point to actionscript classes, adding it to your classpath

On Wed, Nov 26, 2008 at 10:18 PM, Eric E. Dolecki <[EMAIL PROTECTED]>wrote:

> Oops - I didn't see that CS3 part. CS4 makes it super easy to link to a SWC
> to use classes in it, but CS3 is even nastier hack land.
>
> On Wed, Nov 26, 2008 at 4:06 PM, Anthony Pace <[EMAIL PROTECTED]
> >wrote:
>
> > The editor sucks, still.  We need something like Aptana for AS3.
> >
> > Don't use the flash CS3 IDE if you can avoid; however, it is pretty good
> > for animations; yet, if you want to do animations, go to cs4... bones and
> IK
> > and bears oh my.
> >
> >
> > Eric E. Dolecki wrote:
> >
> >> Using a SWC, yes. But it's nasty work IMO. Use Flex Builder if you have
> >> it.
> >>
> >> On Wed, Nov 26, 2008 at 3:47 PM, BOYD SPEER <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >>
> >>> can Flex classes be imported and used within (Flash CS3) along with
> >>> ActionScript?
> >>>
> >>> -Boyd
> >>> ___
> >>> Flashcoders mailing list
> >>> Flashcoders@chattyfig.figleaf.com
> >>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >>>
> >>>
> >>>
> >>
> >>
> >>
> >>
> >>
> >
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
>
>
>
> --
> http://ericd.net
> Interactive design and development
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flex vs. Flash

2008-11-20 Thread Meinte van&#x27;t Kruis
"Yes, for sites that have a lot of UI "zing" - animations and effects, and
really wild transitions and layouts, well, Flex would not be the best
choice.  That's why you have to decide which tool is best for what kind of
project you have."
That's what bothers me about Flex, and maybe that's where the comparisons
are at; Maybe shouldn't be comparig flash and
flex, but more flex vs ajax.


On Thu, Nov 20, 2008 at 5:14 PM, Merrill, Jason <
[EMAIL PROTECTED]> wrote:

> Sure - I mean again, it just comes down to what KIND of sites you are
> comparing - a cool site RIA could be equally cool as a cool 3D Flash site
> like EcoDaZoo (which was done with Papervision3d by the way, and could have
> been done in Flex - if there was a need for the Flex framework) - but
> comparing one site with another for "coolness" is really subjective, it's
> like comparing apples and oranges.  If a site dynamically allows product
> selection interactions with effects was seen as "cool" - and a site like
> EcoDaZoo was done with Flash + Papervision and is thought of as "cool",
> well, which one is "cooler"?  You can't do the comparision because they are
> completely different types of sites.
>
> Yes, for sites that have a lot of UI "zing" - animations and effects, and
> really wild transitions and layouts, well, Flex would not be the best
> choice.  That's why you have to decide which tool is best for what kind of
> project you have.
>
>
> Jason Merrill
> Bank of America Instructional Technology & Media   ·   GCIB & Staff
> Support L&LD
>
> Interested in Flash Platform technologies?  Join the Bank of America Flash
> Platform Developer Community
> Interested in innovative ideas in Learning?  Check out the Innovative
> Learning Blog and subscribe.
>
>
>
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] On Behalf Of Cedric Muller
> Sent: Thursday, November 20, 2008 11:07 AM
> To: Flash Coders List
> Subject: Re: [Flashcoders] Flex vs. Flash
>
> You are right. I may have been mislead here, but I still think that a
> site like EcoDaZoo or sites done by agencies like Gringo, or
> Firstborn are Flash, not Flex. I am getting specific here, which is
> irrelevant regarding this thread.
>
> Cedric
>
> >>> With both you can be efficient. As a proof, all the best Flash sites
> > are Flash, not Flex.
> >
> > How do you know? I have seen some amazing Flash sites I thought
> > were build in the Flash IDE, and I found out later they were Flex
> > apps, with some really great skinning going on.  I have also seen
> > some flex-like sites that were cool that I discovered were Flash
> > IDE made sites.  But in a lot of cases, there is no real way to
> > tell what the development environment was - maybe if you pulled
> > apart the .swf you could tell, but other than that, it's difficult.
> >
> >
> > Jason Merrill
> > Bank of America Instructional Technology & Media   ·   GCIB &
> > Staff Support L&LD
> >
> > Interested in Flash Platform technologies?  Join the Bank of
> > America Flash Platform Developer Community
> > Interested in innovative ideas in Learning?  Check out the
> > Innovative Learning Blog and subscribe.
> >
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flex vs. Flash

2008-11-20 Thread Meinte van&#x27;t Kruis
That would be very cool, I think people like me, who are still using flash
but only use it for asset management and flashdevelop(or whatever) for
coding, would be more motivated in making a hop over.

On Thu, Nov 20, 2008 at 5:13 PM, Weyert de Boer <[EMAIL PROTECTED]> wrote:

> Of course, this problem might disappear when Flex 4 is production ready!
> Flex 4 makes skinning and similar activities a lot easier.
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flex vs. Flash

2008-11-20 Thread Meinte van&#x27;t Kruis
perhaps that's a bit of a problem that flex has;
any flex app using default components and skin will look like it has been
build in flex
any flex app using custom components /custom skin will look like it has been
build in flash

so if I try to find cool flex apps.. well I haven't seen many because the
cool ones are hiding too well :)

I wish there were some good examples online of advanced skinning with flex,
maybe I'm not looking into
the right places, but all the examples of flex that I looked into made me
shudder and turn quickly
back to flash,simply because most examples/tutorials use the default skins
and looks horrible.

On Thu, Nov 20, 2008 at 4:07 PM, Merrill, Jason <
[EMAIL PROTECTED]> wrote:

> >> With both you can be efficient. As a proof, all the best Flash sites
> are Flash, not Flex.
>
> How do you know? I have seen some amazing Flash sites I thought were build
> in the Flash IDE, and I found out later they were Flex apps, with some
> really great skinning going on.  I have also seen some flex-like sites that
> were cool that I discovered were Flash IDE made sites.  But in a lot of
> cases, there is no real way to tell what the development environment was -
> maybe if you pulled apart the .swf you could tell, but other than that, it's
> difficult.
>
>
> Jason Merrill
> Bank of America Instructional Technology & Media   ·   GCIB & Staff
> Support L&LD
>
> Interested in Flash Platform technologies?  Join the Bank of America Flash
> Platform Developer Community
> Interested in innovative ideas in Learning?  Check out the Innovative
> Learning Blog and subscribe.
>
>
>
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] On Behalf Of Cedric Muller
> Sent: Thursday, November 20, 2008 4:17 AM
> To: Flash Coders List
> Subject: Re: [Flashcoders] Flex vs. Flash
>
>
>
> > Getting back to the original question, Ross, another benefit of the
> > Flex compiler - whether you're writing MXML or AS3 - over the Flash
> > IDE is that all the source files for a Flex app (barring assets -
> > images etc.) are text files. Text files are much easier to deal with
> > in version control systems such as SVN or CVS - and version control
> > systems are critical for development within a group of developers.
>
> I may be totally martian here, but ... hmmm, besides the FLA part,
> you can externalize everything in text files too (no code in the FLA,
> just assets (and even...) and external AS files).
>
> This is making me think that, as always, there are big differences
> between the framework provided and the technology used.
>
> Start from nothing, use Flash, try to build up a framework (at least,
> some app building logic), all on your own, and/or with the help of
> other Flashcoders.
> Then, you discover Flex, and this gives you the framework (ie:
> geniuses thought about this for you). You stick to the framework,
> learn to structure code / applications, and then get on the next
> part: being efficient.
>
> With both you can be efficient. As a proof, all the best Flash sites
> are Flash, not Flex. But all the best Flash apps are Flex, because it
> is ... just simply ... simpler.
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Re: Blurry TextField Issue

2008-11-17 Thread Meinte van&#x27;t Kruis
fonts are cached as bitmap when they get turned in 3d space, same as when
applying filters,
you can;t turn that off.

One last thing to try is to tween with rounded values only, but I'm quite
sure that wont make a difference,
I think any font moved or turned in 3d space gets a bit 'blurry'.


On Mon, Nov 17, 2008 at 7:43 AM, Omar Fouad <[EMAIL PROTECTED]> wrote:

> Nope i already tried it. It does not make any difference.
>
> On 11/16/08, Joel Stransky <[EMAIL PROTECTED]> wrote:
> > set .cacheAsBitmap to false.
> >
> > On Sun, Nov 16, 2008 at 11:09 AM, Omar Fouad <[EMAIL PROTECTED]
> >wrote:
> >
> >> So No ideas yet?
> >>
> >> On Tue, Nov 11, 2008 at 1:36 PM, Omar Fouad <[EMAIL PROTECTED]>
> >> wrote:
> >>
> >> > I've tried everything...By the way I am tweening from rotationX -90 to
> >> > rotationX 0 so I think that the font dimensions should return back to
> >> their
> >> > initial size...
> >> > By the was if they are immediately cashed as bitmap, is there a way to
> >> get
> >> > the back as vectors and not bitmap?
> >> >
> >> >
> >> > On Mon, Nov 10, 2008 at 7:11 PM, Joel Stransky <
> [EMAIL PROTECTED]
> >> >wrote:
> >> >
> >> >> I'm pretty sure any text fields immediately become cached as bitmaps
> >> when
> >> >> their dimensions are modified.
> >> >>
> >> >> On Mon, Nov 10, 2008 at 8:01 AM, Omar Fouad <[EMAIL PROTECTED]
> >
> >> >> wrote:
> >> >>
> >> >> > I'm also placing the textField into whole pixel coordinates and the
> >> >> pixel
> >> >> > font is in it's default size.
> >> >> > Cordially
> >> >> >
> >> >> > On Mon, Nov 10, 2008 at 3:00 PM, Omar Fouad  gmail.com>
> >> >> > wrote:
> >> >> >
> >> >> > > Hi,I have a Sprite that contains some MovieClips and a Dynamic
> Text
> >> >> > Field.
> >> >> > > I am using a simple transition where I tween Both the alpha and
> the
> >> >> > > rotationY property (flash Player 10).
> >> >> > > I noticed that when using rotationX(), rotationY and rotationZ(),
> >> the
> >> >> > > TextField font that is inside the sprite tweened becomes blurry
> and
> >> it
> >> >> > > becomes bold. I used Pixel fonts and non pixel fonts, checked and
> >> >> > unchecked
> >> >> > > Auto Kerning, used all types of Anti-aliasing, bitmap text and
> >> device
> >> >> > font,
> >> >> > > but in vain!!!
> >> >> > > It definitively works and fonts look great without using any 3d
> >> >> property
> >> >> > as
> >> >> > > in when i use tween alpha only.
> >> >> > >
> >> >> > > Is there a solution to use those properties without loosing the
> >> >> > > font
> >> >> > > quality?
> >> >> > >
> >> >> > > Thanks
> >> >> > >
> >> >> > > --
> >> >> > > Omar M. Fouad - www.omar-fouad.net
> >> >> > > Cellular: (+20) 1011.88.534
> >> >> > > Mail: [EMAIL PROTECTED]
> >> >> > >
> >> >> > > This e-mail and any attachment is for authorised use by the
> >> >> > > intended
> >> >> > > recipient(s) only. It may contain proprietary material,
> >> >> > > confidential
> >> >> > > information and/or be subject to legal privilege. It should not
> be
> >> >> > copied,
> >> >> > > disclosed to, retained or used by, any other party. If you are
> not
> >> an
> >> >> > > intended recipient then please promptly delete this e-mail and
> any
> >> >> > > attachment and all copies and inform the sender. Thank you.
> >> >> > >
> >> >> >
> >> >> >
> >> >> >
> >> >> > --
> >> >> > Omar M. Fouad - www.omar-fouad.net
> >> >> > Cellular: (+20) 1011.88.534
> >> >> > Mail: [EMAIL PROTECTED]
> >> >> >
> >> >> > This e-mail and any attachment is for authorised use by the
> intended
> >> >> > recipient(s) only. It may contain proprietary material,
> confidential
> >> >> > information and/or be subject to legal privilege. It should not be
> >> >> copied,
> >> >> > disclosed to, retained or used by, any other party. If you are not
> an
> >> >> > intended recipient then please promptly delete this e-mail and any
> >> >> > attachment and all copies and inform the sender. Thank you.
> >> >> > ___
> >> >> > Flashcoders mailing list
> >> >> > Flashcoders@chattyfig.figleaf.com
> >> >> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >> >> >
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> --Joel
> >> >> ___
> >> >> Flashcoders mailing list
> >> >> Flashcoders@chattyfig.figleaf.com
> >> >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > Omar M. Fouad - www.omar-fouad.net
> >> > Cellular: (+20) 1011.88.534
> >> > Mail: [EMAIL PROTECTED]
> >> >
> >> > This e-mail and any attachment is for authorised use by the intended
> >> > recipient(s) only. It may contain proprietary material, confidential
> >> > information and/or be subject to legal privilege. It should not be
> >> copied,
> >> > disclosed to, retained or used by, any other party. If you are not an
> >> > intended recipient then please promptly delete this e-mail and any
> >> > attachment and all copies and inform the sender. Thank y

Re: [Flashcoders] FLV: reliable height&width dimensions

2008-11-10 Thread Meinte van&#x27;t Kruis
plus there is this 'ghost myth' that the onmetadata call back sometimes does
not
get called, though I've only heard this and not seen it, though to be honest
I haven't
used onmetadata all that often.

On Mon, Nov 10, 2008 at 10:49 PM, Juan Delgado <[EMAIL PROTECTED]> wrote:

> Sometimes you have no control over the FLVs, that's the problem.
>
> I'm sure there's a good technical explanation out there that prevents
> FLVs to have width and height attributes like for example a jpg, but
> I'd love to hear it.
>
> On Mon, Nov 10, 2008 at 9:31 PM, Hans Wichman
> <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > maybe a dumb question, but what is wrong with injecting the required
> > metadata with burak's or something like that?
> >
> > greetz
> > JC
> >
> > On Mon, Nov 10, 2008 at 10:10 PM, Meinte van't Kruis <[EMAIL PROTECTED]>
> wrote:
> >> true, actually I've rebuild the app to get its dimensions from XML,
> which is
> >> safe and
> >> reliable. Though this time it's offcourse a luxury to be able to do
> that, it
> >> would be great
> >> to get a method out which doesn't rely on external data, it seems
> wishful
> >> thinking in
> >> a way.
> >>
> >> On Mon, Nov 10, 2008 at 7:26 PM, dr.ache <[EMAIL PROTECTED]> wrote:
> >>
> >>> Maybe this is not appropriate for you but since I also had this problem
> >>> I always put the dimensions in the xml file from which the application
> >>> gets its content. Its not dynamic but reliable.
> >>>
> >>> Mark
> >>>
> >>> sebastian schrieb:
> >>>
> >>>  Hi, just a little comment, but if the size reported results in 0 by 0
> >>>> pixels, you can always set a condition that sets it to a
> minimum/default
> >>>> size... hopefully the aspect-ratio is not also a variable.
> >>>>
> >>>> good luck!
> >>>>
> >>>> Seb.
> >>>>
> >>>> Meinte van't Kruis wrote:
> >>>>
> >>>>> I found the post. It would be nice to have standardised metadata, but
> it
> >>>>> seems to
> >>>>> be something that's a long way from now, espessially since nothing of
> the
> >>>>> sort
> >>>>> is beeing promoted or pushed by Adobe.
> >>>>>
> >>>>> Metadata aside though, I think it's a bit of a flaw to not have
> >>>>> dimensions
> >>>>> ready
> >>>>> when the buffer is full all the time, it seems quite illogical to me.
> I
> >>>>> mean
> >>>>> seriously,
> >>>>> how hard is it for Adobe to have a consistent and flawless way of
> >>>>> accessing
> >>>>> duration and dimensions, it seems such a basic requirement, but oh
> well..
> >>>>> 
> >>>>>
> >>>>> On Mon, Nov 10, 2008 at 4:44 PM, Juan Delgado <[EMAIL PROTECTED]>
> >>>>> wrote:
> >>>>>
> >>>>>  I sent an email to the list not time ago regarding this issue. I was
> >>>>>> asking for a metadata standard with at least the most basic
> properties
> >>>>>> mandatory. Search the list for "flv metadata" it should appear (I've
> >>>>>> been trying to access the archive to give you a direct link, but
> >>>>>> doesn't work for me, I'm afraid).
> >>>>>>
> >>>>>> I haven't found any better way of solving the problem, to be honest.
> >>>>>> So I'm all ears.
> >>>>>>
> >>>>>> On Mon, Nov 10, 2008 at 3:22 PM, Meinte van't Kruis <
> [EMAIL PROTECTED]>
> >>>>>> wrote:
> >>>>>>
> >>>>>>> No, I'm actually using the Video object along with the Netstream
> class.
> >>>>>>> Wonder how that
> >>>>>>> ready event gets fired though, wouldn't be surprised if it's also
> fired
> >>>>>>>
> >>>>>> on a
> >>>>>>
> >>>>>>> buffer full, either
> >>>>>>> that or using timers (amuse yourself and watch the VideoPlayer and
> >>>>>>> FLVPlayback code
> >>>>>>> in th

Re: [Flashcoders] FLV: reliable height&width dimensions

2008-11-10 Thread Meinte van&#x27;t Kruis
true, actually I've rebuild the app to get its dimensions from XML, which is
safe and
reliable. Though this time it's offcourse a luxury to be able to do that, it
would be great
to get a method out which doesn't rely on external data, it seems wishful
thinking in
a way.

On Mon, Nov 10, 2008 at 7:26 PM, dr.ache <[EMAIL PROTECTED]> wrote:

> Maybe this is not appropriate for you but since I also had this problem
> I always put the dimensions in the xml file from which the application
> gets its content. Its not dynamic but reliable.
>
> Mark
>
> sebastian schrieb:
>
>  Hi, just a little comment, but if the size reported results in 0 by 0
>> pixels, you can always set a condition that sets it to a minimum/default
>> size... hopefully the aspect-ratio is not also a variable.
>>
>> good luck!
>>
>> Seb.
>>
>> Meinte van't Kruis wrote:
>>
>>> I found the post. It would be nice to have standardised metadata, but it
>>> seems to
>>> be something that's a long way from now, espessially since nothing of the
>>> sort
>>> is beeing promoted or pushed by Adobe.
>>>
>>> Metadata aside though, I think it's a bit of a flaw to not have
>>> dimensions
>>> ready
>>> when the buffer is full all the time, it seems quite illogical to me. I
>>> mean
>>> seriously,
>>> how hard is it for Adobe to have a consistent and flawless way of
>>> accessing
>>> duration and dimensions, it seems such a basic requirement, but oh well..
>>> 
>>>
>>> On Mon, Nov 10, 2008 at 4:44 PM, Juan Delgado <[EMAIL PROTECTED]>
>>> wrote:
>>>
>>>  I sent an email to the list not time ago regarding this issue. I was
>>>> asking for a metadata standard with at least the most basic properties
>>>> mandatory. Search the list for "flv metadata" it should appear (I've
>>>> been trying to access the archive to give you a direct link, but
>>>> doesn't work for me, I'm afraid).
>>>>
>>>> I haven't found any better way of solving the problem, to be honest.
>>>> So I'm all ears.
>>>>
>>>> On Mon, Nov 10, 2008 at 3:22 PM, Meinte van't Kruis <[EMAIL PROTECTED]>
>>>> wrote:
>>>>
>>>>> No, I'm actually using the Video object along with the Netstream class.
>>>>> Wonder how that
>>>>> ready event gets fired though, wouldn't be surprised if it's also fired
>>>>>
>>>> on a
>>>>
>>>>> buffer full, either
>>>>> that or using timers (amuse yourself and watch the VideoPlayer and
>>>>> FLVPlayback code
>>>>> in the flash folder, count the number of timers used ;))
>>>>>
>>>>> On Mon, Nov 10, 2008 at 1:57 PM, Muzak <[EMAIL PROTECTED]>
>>>>> wrote:
>>>>>
>>>>>  If you're using the FLVPlayback component, use the "ready" event:
>>>>>>
>>>>>>
>>>>>>
>>>> http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/video/FLVPlayback.html#event:ready
>>>>
>>>>>
>>>>>>
>>>>>> - Original Message - From: "Meinte van't Kruis" <
>>>>>>
>>>>> [EMAIL PROTECTED]>
>>>>
>>>>> To: "Flash Coders List" 
>>>>>> Sent: Monday, November 10, 2008 11:56 AM
>>>>>> Subject: [Flashcoders] FLV: reliable height&width dimensions
>>>>>>
>>>>>>
>>>>>>
>>>>>>  Hi Folks,
>>>>>>
>>>>>>> I've been having trouble reliably getting FLV dimensions with both
>>>>>>> progressive and streaming files.
>>>>>>> I'm current using the buffer full event to resize the video
>>>>>>> proportionally,
>>>>>>> therefore needing videoHeight
>>>>>>> and videoWidth. The problem is that once every now and again those
>>>>>>> dimensions start out at 0 0, even
>>>>>>> when the buffer is full.
>>>>>>>
>>>>>>> Furthermore the metadata has no dimension information, so can't use
>>>>>>>
>>>>>> that
>>>>
>>>>> either (plus I've heard onMetaData is unreliable as well).
&

Re: [Flashcoders] FLV: reliable height&width dimensions

2008-11-10 Thread Meinte van&#x27;t Kruis
well, the aspect ratio is also variable, but thanks anyway, it would indeed
be a good tactic whenever the ratio is fixed.

On Mon, Nov 10, 2008 at 7:05 PM, sebastian <[EMAIL PROTECTED]> wrote:

> Hi, just a little comment, but if the size reported results in 0 by 0
> pixels, you can always set a condition that sets it to a minimum/default
> size... hopefully the aspect-ratio is not also a variable.
>
> good luck!
>
> Seb.
>
>
> Meinte van't Kruis wrote:
>
>> I found the post. It would be nice to have standardised metadata, but it
>> seems to
>> be something that's a long way from now, espessially since nothing of the
>> sort
>> is beeing promoted or pushed by Adobe.
>>
>> Metadata aside though, I think it's a bit of a flaw to not have dimensions
>> ready
>> when the buffer is full all the time, it seems quite illogical to me. I
>> mean
>> seriously,
>> how hard is it for Adobe to have a consistent and flawless way of
>> accessing
>> duration and dimensions, it seems such a basic requirement, but oh well..
>> 
>>
>> On Mon, Nov 10, 2008 at 4:44 PM, Juan Delgado <[EMAIL PROTECTED]> wrote:
>>
>>  I sent an email to the list not time ago regarding this issue. I was
>>> asking for a metadata standard with at least the most basic properties
>>> mandatory. Search the list for "flv metadata" it should appear (I've
>>> been trying to access the archive to give you a direct link, but
>>> doesn't work for me, I'm afraid).
>>>
>>> I haven't found any better way of solving the problem, to be honest.
>>> So I'm all ears.
>>>
>>> On Mon, Nov 10, 2008 at 3:22 PM, Meinte van't Kruis <[EMAIL PROTECTED]>
>>> wrote:
>>>
>>>> No, I'm actually using the Video object along with the Netstream class.
>>>> Wonder how that
>>>> ready event gets fired though, wouldn't be surprised if it's also fired
>>>>
>>> on a
>>>
>>>> buffer full, either
>>>> that or using timers (amuse yourself and watch the VideoPlayer and
>>>> FLVPlayback code
>>>> in the flash folder, count the number of timers used ;))
>>>>
>>>> On Mon, Nov 10, 2008 at 1:57 PM, Muzak <[EMAIL PROTECTED]> wrote:
>>>>
>>>>  If you're using the FLVPlayback component, use the "ready" event:
>>>>>
>>>>>
>>>>>
>>> http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/video/FLVPlayback.html#event:ready
>>>
>>>>
>>>>>
>>>>> - Original Message - From: "Meinte van't Kruis" <
>>>>>
>>>> [EMAIL PROTECTED]>
>>>
>>>> To: "Flash Coders List" 
>>>>> Sent: Monday, November 10, 2008 11:56 AM
>>>>> Subject: [Flashcoders] FLV: reliable height&width dimensions
>>>>>
>>>>>
>>>>>
>>>>>  Hi Folks,
>>>>>
>>>>>> I've been having trouble reliably getting FLV dimensions with both
>>>>>> progressive and streaming files.
>>>>>> I'm current using the buffer full event to resize the video
>>>>>> proportionally,
>>>>>> therefore needing videoHeight
>>>>>> and videoWidth. The problem is that once every now and again those
>>>>>> dimensions start out at 0 0, even
>>>>>> when the buffer is full.
>>>>>>
>>>>>> Furthermore the metadata has no dimension information, so can't use
>>>>>>
>>>>> that
>>>
>>>> either (plus I've heard onMetaData is unreliable as well).
>>>>>>
>>>>>> Any good solutions on this?
>>>>>>
>>>>>> Possible solutions would be to check on an interval wether the value
>>>>>> changes(this would really be unpreferable). Also, since I re-use the
>>>>>> Video object in the playlist, that video-object keeps remembering the
>>>>>> videoHeight/videoWidth of the previous video whenever the current
>>>>>> video
>>>>>> has not overridden it yet, making it impossible to do a simple
>>>>>> enterframe/timer kill whenever it is greater than 0 or has changed,
>>>>>>
>>>>> since
>>>
>

Re: [Flashcoders] FLV: reliable height&width dimensions

2008-11-10 Thread Meinte van&#x27;t Kruis
I found the post. It would be nice to have standardised metadata, but it
seems to
be something that's a long way from now, espessially since nothing of the
sort
is beeing promoted or pushed by Adobe.

Metadata aside though, I think it's a bit of a flaw to not have dimensions
ready
when the buffer is full all the time, it seems quite illogical to me. I mean
seriously,
how hard is it for Adobe to have a consistent and flawless way of accessing
duration and dimensions, it seems such a basic requirement, but oh well..


On Mon, Nov 10, 2008 at 4:44 PM, Juan Delgado <[EMAIL PROTECTED]> wrote:

> I sent an email to the list not time ago regarding this issue. I was
> asking for a metadata standard with at least the most basic properties
> mandatory. Search the list for "flv metadata" it should appear (I've
> been trying to access the archive to give you a direct link, but
> doesn't work for me, I'm afraid).
>
> I haven't found any better way of solving the problem, to be honest.
> So I'm all ears.
>
> On Mon, Nov 10, 2008 at 3:22 PM, Meinte van't Kruis <[EMAIL PROTECTED]>
> wrote:
> > No, I'm actually using the Video object along with the Netstream class.
> > Wonder how that
> > ready event gets fired though, wouldn't be surprised if it's also fired
> on a
> > buffer full, either
> > that or using timers (amuse yourself and watch the VideoPlayer and
> > FLVPlayback code
> > in the flash folder, count the number of timers used ;))
> >
> > On Mon, Nov 10, 2008 at 1:57 PM, Muzak <[EMAIL PROTECTED]> wrote:
> >
> >> If you're using the FLVPlayback component, use the "ready" event:
> >>
> >>
> http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/video/FLVPlayback.html#event:ready
> >>
> >>
> >>
> >> - Original Message - From: "Meinte van't Kruis" <
> [EMAIL PROTECTED]>
> >> To: "Flash Coders List" 
> >> Sent: Monday, November 10, 2008 11:56 AM
> >> Subject: [Flashcoders] FLV: reliable height&width dimensions
> >>
> >>
> >>
> >>  Hi Folks,
> >>>
> >>> I've been having trouble reliably getting FLV dimensions with both
> >>> progressive and streaming files.
> >>> I'm current using the buffer full event to resize the video
> >>> proportionally,
> >>> therefore needing videoHeight
> >>> and videoWidth. The problem is that once every now and again those
> >>> dimensions start out at 0 0, even
> >>> when the buffer is full.
> >>>
> >>> Furthermore the metadata has no dimension information, so can't use
> that
> >>> either (plus I've heard onMetaData is unreliable as well).
> >>>
> >>> Any good solutions on this?
> >>>
> >>> Possible solutions would be to check on an interval wether the value
> >>> changes(this would really be unpreferable). Also, since I re-use the
> >>> Video object in the playlist, that video-object keeps remembering the
> >>> videoHeight/videoWidth of the previous video whenever the current video
> >>> has not overridden it yet, making it impossible to do a simple
> >>> enterframe/timer kill whenever it is greater than 0 or has changed,
> since
> >>> I
> >>> can't
> >>> be sure of that (next video might have same dimensions..).
> >>>
> >>> So I'm a bit stuck here, I really don't want to have an infinite
> interval
> >>> checking the dimensions... Any suggestions?
> >>>
> >>>
> >>> --
> >>> M.A. van't Kruis
> >>>
> >>
> >> ___
> >> Flashcoders mailing list
> >> Flashcoders@chattyfig.figleaf.com
> >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >>
> >
> >
> >
> > --
> > M.A. van't Kruis
> > http://www.malatze.nl/
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
>
>
>
> --
> Juan Delgado - Zárate
> http://zarate.tv
> http://dandolachapa.com
> http://loqueyosede.com
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] FLV: reliable height&width dimensions

2008-11-10 Thread Meinte van&#x27;t Kruis
No, I'm actually using the Video object along with the Netstream class.
Wonder how that
ready event gets fired though, wouldn't be surprised if it's also fired on a
buffer full, either
that or using timers (amuse yourself and watch the VideoPlayer and
FLVPlayback code
in the flash folder, count the number of timers used ;))

On Mon, Nov 10, 2008 at 1:57 PM, Muzak <[EMAIL PROTECTED]> wrote:

> If you're using the FLVPlayback component, use the "ready" event:
>
> http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/video/FLVPlayback.html#event:ready
>
>
>
> - Original Message - From: "Meinte van't Kruis" <[EMAIL PROTECTED]>
> To: "Flash Coders List" 
> Sent: Monday, November 10, 2008 11:56 AM
> Subject: [Flashcoders] FLV: reliable height&width dimensions
>
>
>
>  Hi Folks,
>>
>> I've been having trouble reliably getting FLV dimensions with both
>> progressive and streaming files.
>> I'm current using the buffer full event to resize the video
>> proportionally,
>> therefore needing videoHeight
>> and videoWidth. The problem is that once every now and again those
>> dimensions start out at 0 0, even
>> when the buffer is full.
>>
>> Furthermore the metadata has no dimension information, so can't use that
>> either (plus I've heard onMetaData is unreliable as well).
>>
>> Any good solutions on this?
>>
>> Possible solutions would be to check on an interval wether the value
>> changes(this would really be unpreferable). Also, since I re-use the
>> Video object in the playlist, that video-object keeps remembering the
>> videoHeight/videoWidth of the previous video whenever the current video
>> has not overridden it yet, making it impossible to do a simple
>> enterframe/timer kill whenever it is greater than 0 or has changed, since
>> I
>> can't
>> be sure of that (next video might have same dimensions..).
>>
>> So I'm a bit stuck here, I really don't want to have an infinite interval
>> checking the dimensions... Any suggestions?
>>
>>
>> --
>> M.A. van't Kruis
>>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] FLV: reliable height&width dimensions

2008-11-10 Thread Meinte van&#x27;t Kruis
Hi Folks,

I've been having trouble reliably getting FLV dimensions with both
progressive and streaming files.
I'm current using the buffer full event to resize the video proportionally,
therefore needing videoHeight
and videoWidth. The problem is that once every now and again those
dimensions start out at 0 0, even
when the buffer is full.

Furthermore the metadata has no dimension information, so can't use that
either (plus I've heard onMetaData is unreliable as well).

Any good solutions on this?

Possible solutions would be to check on an interval wether the value
changes(this would really be unpreferable). Also, since I re-use the
Video object in the playlist, that video-object keeps remembering the
videoHeight/videoWidth of the previous video whenever the current video
has not overridden it yet, making it impossible to do a simple
enterframe/timer kill whenever it is greater than 0 or has changed, since I
can't
be sure of that (next video might have same dimensions..).

So I'm a bit stuck here, I really don't want to have an infinite interval
checking the dimensions... Any suggestions?


-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] OT: smoothd.com

2008-10-29 Thread Meinte van&#x27;t Kruis
I'm not sure wether this is about silverlight/microsoft bloebloeblabla, I'd
like to see something like this made in fms / flash one day (or is there a
reason why no one really wants to be bothered with fms, unless it is to
prevent ripping)

On Wed, Oct 29, 2008 at 7:38 PM, Carl Welch <[EMAIL PROTECTED]>wrote:

> I refuse to install MS Silverlight as a matter of principle.
>
>
> On Oct 29, 2008, at 5:30 AM, Meinte van't Kruis wrote:
>
>  has anyone checked out
>>
>> http://www.smoothhd.com/
>>
>> seems pretty cool, here's the description;
>>
>> SmoothHD.com is an early glimpse of cutting edge new technology from
>> Microsoft and Akamai that will raise the bar on the consumer video
>> experience.
>>
>> SmoothHD.com is powered by Microsoft Internet Information Server (IIS) 7.0
>> Smooth Streaming – a unique adaptive streaming technology that dynamically
>> adapts video quality in real-time based on local bandwidth conditions -
>> and
>> Akamai AdaptiveEdge Streaming for Microsoft(R) Silverlight™ , a new
>> solution
>> for enabling high-quality, scalable video experiences over Akamai's global
>> HTTP network of more than 36,000 servers around the world.
>>
>> --
>> M.A. van't Kruis
>> http://www.malatze.nl/
>> ___
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.com
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>
> --
> Carl Welch
> http://www.carlwelch.com
> http://www.jointjam.com
> [EMAIL PROTECTED]
> 805.403.4819
>
>
>
>
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] OT: smoothd.com

2008-10-29 Thread Meinte van&#x27;t Kruis
has anyone checked out

http://www.smoothhd.com/

seems pretty cool, here's the description;

SmoothHD.com is an early glimpse of cutting edge new technology from
Microsoft and Akamai that will raise the bar on the consumer video
experience.

SmoothHD.com is powered by Microsoft Internet Information Server (IIS) 7.0
Smooth Streaming – a unique adaptive streaming technology that dynamically
adapts video quality in real-time based on local bandwidth conditions - and
Akamai AdaptiveEdge Streaming for Microsoft(R) Silverlight™ , a new solution
for enabling high-quality, scalable video experiences over Akamai's global
HTTP network of more than 36,000 servers around the world.

-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash CS4 info

2008-09-23 Thread Meinte van&#x27;t Kruis
Cool! I'm curious as how to the new animation work-flow is going to be.
Allthough what I really hope for is a less buggy environment to work in.

On Tue, Sep 23, 2008 at 8:20 AM, Paul Steven <[EMAIL PROTECTED]>wrote:

> Apologies if this has already been posted but I was searching for the
> minimum playback specification for Flash CS3 and came across this page:
>
> http://www.adobe.com/products/flash/features/?view=topnew&promoid=DRHWS
>
> p
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Payment processing in Flash?

2008-09-19 Thread Meinte van&#x27;t Kruis
I'm not sure about this one, but couldn't you just make the form in flash
yourself and just
post the same variables to the service, which the usual HTML foms also post.
You could just
peek in the HTML form, check out the variables which it will send and
simulate that behaviour in flash.

Transaction failure, secury etc is something the service itself is
responsible for. If you can ask the party
in question what kind of responses you can receive, than you could also
handle these in flash.

On Fri, Sep 19, 2008 at 11:38 AM, Henry Cooke <
[EMAIL PROTECTED]> wrote:

> Hey all,
>
> We're working on a site for a charity in which we want to build a
> really quick, streamlined donation process - basically, a user sticks
> their credit card details and email address into a simple form in our
> Flash site, we process the transaction in the background and the UX
> continues in our site.
>
> Now, leaving aside for a second the potential complications there
> (transaction failiure, security etc), does anyone know if any of the
> big payment processing services provide an interface through which
> something like this can be done?
>
> We're hoping to present the UI for the entire payment process in our
> (Flash) site without linking off to someone else's forms.
>
> Any pointers would be helpful. I've been poking through the PayPal
> docs this morning, which look promising, but they're a bit of a
> tangled mess...
>
> Cheers,
> h
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Retreive name of function within scope of that function

2008-09-16 Thread Meinte van&#x27;t Kruis
to have a stack trace the easiest way would be:

try{
 throw new Error("Stack trace");
}catch(e:Error){
   trace(e.getStackTrace();
}

On Tue, Sep 16, 2008 at 1:24 PM, Jiri Heitlager <
[EMAIL PROTECTED]> wrote:

> Does somebody now if it is possible to get the name of a function from the
> scope of that function.
>
> function doSomething():void
> {
>trace('the name of this function is ' , $$name$$)
> }
>
> Where the trace would be :
> the name of this function is doSomething
>
> In Java one has acces to stack traces, does AS3 provide acces to this?
>
> Jiri
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] MouseEvents on overlapping siblings in AS3

2008-09-02 Thread Meinte van&#x27;t Kruis
I think rollover means it will fire once, wether or not it 'rolls' over a
child of that parent. With mouseover,
the event will fire each time the mouse also get's over a child of the
parent which is listening to the event.
(in short; rollover is like a parent with mouseover only with mousechildren
set to false).

On Tue, Sep 2, 2008 at 5:26 PM, EECOLOR <[EMAIL PROTECTED]> wrote:

> Just a guess, but you could change the listener to MOUSE_OVER instead of
> ROLL_OVER. The difference between the two is very subtle and explained at
> the reference documentation of InteractiveObject. I am not sure if it is
> applicable to the problem posed.
>
> Greetz Erik
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] MouseEvents on overlapping siblings in AS3

2008-09-02 Thread Meinte van&#x27;t Kruis
I'm actually talking here where A and B have no relation whatsoever, so
perhaps my question doesn't belong in this
thread, when I read the follow line, I actually guess it's impossible for B
to receive any MouseEvent when A is enabled
and overlapping it:

'This means that even if no event handlers have been assigned to a
particular display object, it will still be targeted for an event when
clicked, preventing anything below it from receiving events.'

On Tue, Sep 2, 2008 at 12:55 PM, Meinte van't Kruis <[EMAIL PROTECTED]>wrote:

> Could you elaborate? Maybe I'm missing something but if you have two mouse
> enabled objects
> (where A completely overlaps B), I don't see any way to know if a mouse is
> over object B, I've tried
> different ways, but haven't been able to do it..
>
>
> On Fri, Aug 29, 2008 at 3:31 PM, eric e. dolecki <[EMAIL PROTECTED]>wrote:
>
>> Think you need to drink some "bubbly" - bubbling events
>>
>> On Fri, Aug 29, 2008 at 8:40 AM, Matthias Dittgen <[EMAIL PROTECTED]
>> >wrote:
>>
>> > but imagine one of the mc overlapping the whole other mc.
>> >
>> > MovieClips: A and B. A is overlapping B
>> >
>> > if the mouse is over A but not over B: i want receive a ROLL_OVER for A
>> > if the mouse is over A and over B: i want receive a ROLL_OVER for A
>> > and a ROLL_OVER for B
>> >
>> > an I don't want to replace them. A and B are siblings and will always
>> > be siblings.
>> >
>> >
>> > On Fri, Aug 29, 2008 at 1:30 PM,  <[EMAIL PROTECTED]> wrote:
>> > > drop them in a movieclip and add an event Listener to that
>> > > --Original Message--
>> > > From: Matthias Dittgen
>> > > Sender:
>> > > To: Flash Coders List
>> > > ReplyTo: Flash Coders List
>> > > Sent: Aug 29, 2008 6:03 AM
>> > > Subject: [Flashcoders] MouseEvents on overlapping siblings in AS3
>> > >
>> > > Hello,
>> > >
>> > > this was probably asked before, but I can't find.
>> > > Imagine two or more sibling MovieClips. Both listen to
>> > > MouseEvent.ROLL_OVER. When the mouse rolls over the overlapping region
>> > > I would like the event to be dispatched to both of them and not only
>> > > to the one above the other? How can I achieve this without using
>> > > hitTest or enterframe scripts?
>> > >
>> > > Regards,
>> > > Matthias
>> > > ___
>> > > Flashcoders mailing list
>> > > Flashcoders@chattyfig.figleaf.com
>> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>> > >
>> > >
>> > > Sent via BlackBerry from T-Mobile
>> > > ___
>> > > Flashcoders mailing list
>> > > Flashcoders@chattyfig.figleaf.com
>> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>> > >
>> > ___
>> > Flashcoders mailing list
>> > Flashcoders@chattyfig.figleaf.com
>> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>> >
>> ___
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.com
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>
>
>
> --
> M.A. van't Kruis
> http://www.malatze.nl/
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] MouseEvents on overlapping siblings in AS3

2008-09-02 Thread Meinte van&#x27;t Kruis
Could you elaborate? Maybe I'm missing something but if you have two mouse
enabled objects
(where A completely overlaps B), I don't see any way to know if a mouse is
over object B, I've tried
different ways, but haven't been able to do it..

On Fri, Aug 29, 2008 at 3:31 PM, eric e. dolecki <[EMAIL PROTECTED]> wrote:

> Think you need to drink some "bubbly" - bubbling events
>
> On Fri, Aug 29, 2008 at 8:40 AM, Matthias Dittgen <[EMAIL PROTECTED]
> >wrote:
>
> > but imagine one of the mc overlapping the whole other mc.
> >
> > MovieClips: A and B. A is overlapping B
> >
> > if the mouse is over A but not over B: i want receive a ROLL_OVER for A
> > if the mouse is over A and over B: i want receive a ROLL_OVER for A
> > and a ROLL_OVER for B
> >
> > an I don't want to replace them. A and B are siblings and will always
> > be siblings.
> >
> >
> > On Fri, Aug 29, 2008 at 1:30 PM,  <[EMAIL PROTECTED]> wrote:
> > > drop them in a movieclip and add an event Listener to that
> > > --Original Message--
> > > From: Matthias Dittgen
> > > Sender:
> > > To: Flash Coders List
> > > ReplyTo: Flash Coders List
> > > Sent: Aug 29, 2008 6:03 AM
> > > Subject: [Flashcoders] MouseEvents on overlapping siblings in AS3
> > >
> > > Hello,
> > >
> > > this was probably asked before, but I can't find.
> > > Imagine two or more sibling MovieClips. Both listen to
> > > MouseEvent.ROLL_OVER. When the mouse rolls over the overlapping region
> > > I would like the event to be dispatched to both of them and not only
> > > to the one above the other? How can I achieve this without using
> > > hitTest or enterframe scripts?
> > >
> > > Regards,
> > > Matthias
> > > ___
> > > Flashcoders mailing list
> > > Flashcoders@chattyfig.figleaf.com
> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >
> > >
> > > Sent via BlackBerry from T-Mobile
> > > ___
> > > Flashcoders mailing list
> > > Flashcoders@chattyfig.figleaf.com
> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] OT: Questions to ask an interviewee

2008-07-30 Thread Meinte van&#x27;t Kruis
I don't think asking questions about a specific language(be it as3 or as2)
is actually the key
of finding a good programmer. In my opinion programming is not about knowing
an API but
about thinking of smart solutions which will solve problems in a simple and
elegant way.

The best questions are those which doesn't assume the person has any
knowledge of any language
at all, since programming isn't about a programming language per se. Maybe
find out which language
he has never worked with and then send him home with a small assignment in
that language, this
would be a neat test and will also show how fast someone can pick up new
things and ideas.

On Wed, Jul 30, 2008 at 1:03 PM, Sidney de Koning <[EMAIL PROTECTED]>wrote:

> The list of questions i always ask interviewees are the following, and this
> gives me a pretty good example of what they are like and what their skillset
> is.
>
> Test is always accompanied with a practical test we make up on the spot.
> The XML in Q16 is made up, you can create your own for this.
>
> Feel free to use this,
>
> Cheers,
>
> Sid
>
> 1  - write an event listener (normal and weak referenced) and handling
> function for a Sprite
> named 'beginQuestions' and listen for a  mouse click.
> 2  - what does weak referenced mean in regards to event listeners?
> 3  - what is the difference between an object an an array?
> 4  - how doe you get cue point from vidio in AS3? And in AS2?
> 5  - briefly explain the various datatypes for numbers.
> 6  - how do you load an external file?
> 7  - draw a 20px by 20px Rectangle using the graphics API.
> 8  - which of the following cannot contain other display objects?
> Sprite, Shape, MovieClip, DisplayObjectContainer.
> 9  - which properties can you use to change the size of DisplayObjects?
> 10 - ENTER_FRAME is independant of an SWF's frame rate? True or false?
> 11 - XP is a type of which programming methology?
> 12 - why would you use a Singleton?
> 13 - what is the Document Class?
> 14 - create a new TextField instance, then add text it, then add some more
> text.
> 15 - what is the difference between public, private and protected.
> 16 - look at the piece of XML (see other sheet). How do i:
> - Get all of the page nodes as an XMLList.
> - Get node in showcase where the attribute id=1.
> 17 - listen for when the 'enter key' is pressed and
> trace out "all questions are now done" when the event happens.
>
>
> Sidney de Koning
> Flash / AIR Developer @ www.funky-monkey.nl
> Technical Writer @ www.insideria.com
>
>
>
>
>
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AS3 - MovieClip in MovieClip not showing

2008-07-19 Thread Meinte van&#x27;t Kruis
MovieClip does have a width and height property, it inherits it from
DisplayObject in which these are defined. Object is the one
without width and height.

On Sat, Jul 19, 2008 at 9:01 AM, Cor <[EMAIL PROTECTED]> wrote:

> OK, my main problem is solved but just to get it in the correct
> perspectives.
>
> The width and height are no properties of MovieClip and also not of the
> Sprite.
> But, is it correct that MovieClip extends the Object() and therefore it
> does
> have a .width and .height.
> And in the case of a MovieClip it adjust its size due to it content?
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AS3 - MovieClip in MovieClip not showing

2008-07-18 Thread Meinte van&#x27;t Kruis
> MovieClip.width and MovieClip.height are not listed as MovieClip
properties
> in the documentation. Maybe you should switch to Sprites.

This is not true offcourse(would be a lovely adobe joke tho, 'ok guys, in
as3 we have no width or height on MovieClip, sorry and good luck').

Ummm ok, I did some small tests. The problem lies in the fact that
you're resetting its width and height before adding anything to it, if you
turn that around, it does show stuff. I think the problem lies with the fact
that when a movieclip is empty, it's dimensions are zero. WHen you then then
set its width and height properties while it is empty, it just ignores that
stuff, but somehow keeps it zero after you add stuff.

so mc=new Movieclip; mc.width=500;
mc.height=600;mc.addCHild(bigassMovieClipWIthStuffInIt)

will actually get you a big assMovieCLip within mc with width and height
zero.. (dont ask me why, its getting late :))

On Fri, Jul 18, 2008 at 10:16 PM, Keith Reinfeld <[EMAIL PROTECTED]>
wrote:

> > Just for the record:
> > Q: Sprite is the same as a MovieClip but without the timeline,
> > isn't it?
>
> MovieClip inherits from Sprite.
>
> Beyond that you will have to ask someone who can make sense of CS3's
> convoluted documentation.
>
> Regards,
>
> -Keith
> http://keithreinfeld.home.comcast.net
>
>
>
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] hiring

2008-07-18 Thread Meinte van&#x27;t Kruis
where were you (dutch) guys a few years ago when I need you :P ;)

On Thu, Jul 17, 2008 at 1:48 PM, Gert-Jan van der Wel <
[EMAIL PROTECTED]> wrote:

> Hi Sid,
>
> True! We're not looking for freelancers, but for someone to fill an on site
> full time position, but the problem is the same. We adjusted our vacancy
> from a Flash coder to someone with OOP experience and wanting to learn
> Actionscript. We'll see...
>
> Op 16 jul 2008, om 18:10 heeft Sidney de Koning het volgende geschreven:
>
>
>  Tell me about it, we are based in Amsterdam and having much difficulty
>> getting freelancers.
>> However we already placed some ads on riajobs.org, and gotten more
>> reactions than using headhunters companies (Monster, ComputerFutures etc).
>> Company blogs and direct mailings are also more effective i think. (This
>> is specific for the dutch users: Have you tried freelance.nl ? )
>>
>> Good luck!
>>
>> Sid
>>
>>
>> On Jul 16, 2008, at 4:58 PM, Gert-Jan van der Wel wrote:
>>
>>  Thanks Sid!
>>>
>>> We're also looking for an ActionScript/Flash developer to join the
>>> Floorplanner team in Rotterdam, The Netherlands. It quite difficult to find
>>> good people...
>>>
>>> Gert-Jan
>>>
>>>
>>> Op 16 jul 2008, om 14:39 heeft Sidney de Koning het volgende geschreven:
>>>
>>>  try http://www.riajobs.org/

 Sid

 On Jul 16, 2008, at 2:29 PM, Romuald Quantin wrote:

  Hi,
>
>
>
> I'm not sure it is the right place to do that but people have been
> friendly
> on this list, I hope you can help.
>
>
>
> I'll have to hire a flash/flex developer in London UK for a permanent
> job.
>
>
>
> Can anyone tell me some good place to post an ad?
>
>
>
> I'm not looking for a "general IT job site" but some sites like the job
> section in www.thefwa.com   where I can find
> good
> developers.
>
> Maybe another mailing list?
>
>
>
> Any info?
>
>
>
> Thanks
>
>
>
> Romuald
>
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>
 Sidney de Koning
 Flash / AIR Developer @ www.funky-monkey.nl
 Technical Writer @ www.insideria.com





 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

>>>
>>> ___
>>> Flashcoders mailing list
>>> Flashcoders@chattyfig.figleaf.com
>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>>
>>>
>> Sidney de Koning
>> Flash / AIR Developer @ www.funky-monkey.nl
>> Technical Writer @ www.insideria.com
>>
>>
>>
>>
>>
>> ___
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.com
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] The Charges Against ActionScript 3.0

2008-07-17 Thread Meinte van&#x27;t Kruis
 > Yeah I know, but I'm suggesting a version which is explicitly
 > targetted at that user.

So you mean flash cs3, but without the actionscript ;) :P


> But I think part of the problem is the increasingly
> schizophrenic nature of Flash's "identity" as an application.

Well, this has maybe always been the case, and to a certain extent will
remain so. I certainly hope so, because that's what makes flash so much fun
for me.
Another big part of the problem is perhaps; nostalgia, I've seen alot of
sentences in this discussion which started with 'the good old days' ;)



On Thu, Jul 17, 2008 at 9:35 PM, Matt S. <[EMAIL PROTECTED]> wrote:

> On Thu, Jul 17, 2008 at 2:47 PM, Kerry Thompson <[EMAIL PROTECTED]>
> wrote:
> > Flash CS3 has all the features of Flash 8--in fact, Flash 6. You can
> still
> > write AS2 code, and you can still do all the tweening and timeline
> animation
> > you want. I work with artists regularly who don't do a lick of coding,
> but
> > turn out some really nice assets for me.
> >
>
> Yeah I know, but I'm suggesting a version which is explicitly
> targetted at that user.
>
> .m
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] The Charges Against ActionScript 3.0

2008-07-17 Thread Meinte van&#x27;t Kruis
I don't see why people make such a distinction between designer and
programmer,
I think, espessially in the flash environment, this distinction is very
vague and you'll see
alot of designers doing programmer work and vice versa. That said I think
that anyone who
was used to as2 and the way things worked has to invest some time before
becoming
completely comfortable with the new language and everything that surrounds
it. Most designers
I see in my environment are actually quite cool with it and don't have any
real problems, other
than the discomfort of getting used to something and getting the feel for
it, which takes time
but doesn't neceserally mean that as3 is so much more complex that as2, I
actually believe
that in some ways as3 can be easier to work with than its predecessors. But
that's just my
view on things.

On Thu, Jul 17, 2008 at 10:43 AM, daniele tassone <[EMAIL PROTECTED]>
wrote:

> I agree with this point.
>
> I use with no particular difficult c#, sql, asp.net, java, as3, as2, Flex
> and i think that
> as3 is better than as2/as1 because my skill give me the opportunity to work
> with
> a language that can be great (that is at "first" version ... so with a
> little bit of problem).
>
> But designer that work with me are not happy, and for a more and more
> project
> i have difficult to use AS3 because the world don't use AS3;
>
> I think that onClipEvent and on(...) is important for designer like "class"
> is important for programmer.
> Introduce again this concept, or build a new product "for designer" is a
> must for Adobe.
>
> daniele tassone
>
>
>
>
> 2008/7/17 Beatrix Krümmer-Frau <[EMAIL PROTECTED]>:
>
> >
> > Juan Pablo Califano schrieb:
> > > I agree with the article and with what Steve has pointed out already.
> > > Even from an historical point of view, I think that what made the flash
> > > platform ubiquitous was that many people started to create cool stuff
> for
> > > it.
> > Hi,
> > at this point i just want to remember what the pioneers, the masters of
> > flash, did for the success of Flash. Remember Ray of Light from Yasuto
> > Suga - the reason i started learning flash. With this "little" Banners
> > and experimentations, Desigerns work and Programmers effords -> Flash
> > grew and became what it is today. Flash needs both, also in the future,
> > i hope Colin this is what you mean in your article.
> >
> > Beatrix
> >
> >
> >
> > _
> > Lustige Emoticons für Ihren Messenger! Hier kostenlos downloaden!
> >
> >
> http://messenger.live.de/mein/___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] 2D and 3D floor plans

2008-07-13 Thread Meinte van&#x27;t Kruis
Very, very nice, I love how intuitive everything works and how seemingly
easy it is to put things together.

Everything works fine here, but I just run the flash 9r115 with firefox
2.0015.

good job!

On Sun, Jul 13, 2008 at 4:16 AM, Charles Parcell <[EMAIL PROTECTED]>
wrote:

> FF3
> FP10b
>
> Going to 3d view crashes the browser.
>
> The 2D builder is very nice. lots of time has obviously been put into this.
> Great job!
>
> Charles P.
>
>
> On Tue, Jul 8, 2008 at 10:36 AM, Gert-Jan van der Wel <
> [EMAIL PROTECTED]> wrote:
>
> > Hi list,
> >
> > Maybe a little spammy message, but I just wanted to let you know that we
> > released a new version of Floorplanner that's now open for beta testers.
> > This version has better 2D/3D integration and it's finally possible to
> show
> > furniture elements in 3D (using Papervision 3D of course :-)
> >
> > So if you feel like giving it a test drive, click on one of these links:
> > http://beta.floorplanner.com/
> > http://beta.floorplanner.com/demo
> > http://beta.floorplanner.com/start
> >
> > Thanks!
> > Gert-Jan
> >
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] stack overflow in IE ?

2008-05-20 Thread Meinte van&#x27;t Kruis
im on 9.0.115, works like a charm.

one thing I forgot to mention; WIth my problem the problem was indeed the
flash player,
I doubt if it's the browser doing the messup.

On Tue, May 20, 2008 at 8:08 PM, Meinte van't Kruis <[EMAIL PROTECTED]>
wrote:

> The last time I had a flash version crashing problem, I simply installed
> the version it crashed on and
> simply commented/uncommented untill I had the problem. It sounds like a lot
> of work, but actually,
> it's not so bad. Maybe you can solve it this way.
>
>
> On Tue, May 20, 2008 at 7:06 PM, Andrei Thomaz <[EMAIL PROTECTED]>
> wrote:
>
>> dear Kenneth,
>>
>> I would like to ask you to send me the output of flash palyer. I can't
>> reproduce the null object reference error here. I tried using "test movie"
>> in flash cs3 and also with flash player debug + firefox.
>>
>> thank you,
>> andrei
>>
>>
>> On Tue, May 20, 2008 at 1:09 PM, Kenneth Kawamoto <
>> [EMAIL PROTECTED]>
>> wrote:
>>
>> > Not sure if it's related to the crash but your movie generates null
>> object
>> > reference error.
>> >
>> > Kenneth Kawamoto
>> > http://www.materiaprima.co.uk/
>> >
>> > Andrei Thomaz wrote:
>> >
>> >> dear list,
>> >>
>> >> I made two little (experimental) games in AS3. Both uses a maze
>> generation
>> >> algorithm. To avoid a small "freezing" and messages like "script
>> running
>> >> too
>> >> slowly", I broke the algorithm in small steps. So, in each frame, it
>> >> generates a room of the maze. You can see it at:
>> >>
>> >> http://www.andreithomaz.com/arte/labirintos_invisiveis/
>> >>
>> > ___
>> > Flashcoders mailing list
>> > Flashcoders@chattyfig.figleaf.com
>> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>> >
>> ___
>> Flashcoders mailing list
>> Flashcoders@chattyfig.figleaf.com
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>
>
>
> --
> M.A. van't Kruis
> http://www.malatze.nl/




-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] stack overflow in IE ?

2008-05-20 Thread Meinte van&#x27;t Kruis
The last time I had a flash version crashing problem, I simply installed the
version it crashed on and
simply commented/uncommented untill I had the problem. It sounds like a lot
of work, but actually,
it's not so bad. Maybe you can solve it this way.

On Tue, May 20, 2008 at 7:06 PM, Andrei Thomaz <[EMAIL PROTECTED]>
wrote:

> dear Kenneth,
>
> I would like to ask you to send me the output of flash palyer. I can't
> reproduce the null object reference error here. I tried using "test movie"
> in flash cs3 and also with flash player debug + firefox.
>
> thank you,
> andrei
>
>
> On Tue, May 20, 2008 at 1:09 PM, Kenneth Kawamoto <
> [EMAIL PROTECTED]>
> wrote:
>
> > Not sure if it's related to the crash but your movie generates null
> object
> > reference error.
> >
> > Kenneth Kawamoto
> > http://www.materiaprima.co.uk/
> >
> > Andrei Thomaz wrote:
> >
> >> dear list,
> >>
> >> I made two little (experimental) games in AS3. Both uses a maze
> generation
> >> algorithm. To avoid a small "freezing" and messages like "script running
> >> too
> >> slowly", I broke the algorithm in small steps. So, in each frame, it
> >> generates a room of the maze. You can see it at:
> >>
> >> http://www.andreithomaz.com/arte/labirintos_invisiveis/
> >>
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Automatically Declare Stage Instances and inheritance.

2008-05-11 Thread Meinte van&#x27;t Kruis
If you want to have the flexibility of not having to define it, you can
always make the class dynamic

On Sun, May 11, 2008 at 12:42 AM, Chris <[EMAIL PROTECTED]> wrote:

> Ok, so I've done a bit of googling and found nothing. And the mailing
> lists
> search features are less than ideal (sorry). Apologies if this has been
> gone
> over before:
>
> I have created an example problem here:
> http://ubergeek.tv/inheritance_declare_problem.zip
>
> The inheritanceDemo.fla shows that classes linked to symbols that extend
> class with items on the timeline  causes a compiler error:
>
> 1152: A conflict exists with inherited definition AlertBase.okButton in
> namespace public.�
>
> While if I uncheck the 'Automatically Declare Stage Instances' checkbox
> and
> declare my okButton manually everything works.
>
> This seems like a big deal to me. Since we re-use code as much as
> possible,
> it seems like we either need to assume this box is checked or not and base
> our code on this. Additionally we can assume incompatibilities with 3rd
> party code based upon whether they checked this box. It would seem that
> this
> checkbox shouldn't exist and that all stage vars should be declared
> manually.
>
> I must be doing something wrong. What are the best practices here? Besides
> unchecking that box, is there any way to get around these errors?
>
> Thanks
> Chris Hill
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>


-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] New game: Exxon - The decontaminator

2008-04-23 Thread Meinte van&#x27;t Kruis
haha, well, not everything has to be multiplayer ;)

I have some ideas, but it's always tricky, maybe a little more of some sort
of a story line, not neceserally a story but just something where you can
grow and expand your skills, oh well.

anyway, kudos, amazing what can be done in 48 hours


On Wed, Apr 23, 2008 at 8:26 PM, Christoffer Enedahl <
[EMAIL PROTECTED]> wrote:

> Thanks. Yes, I have a couple of stuff I want in.
> Stuff like: preventing animals getting stuck in the oil, multiplayer,
> race, prevent oil getting lit on fire, boat upgrades. Online leveleditor.
> Ahhh so many possibilities, so little time.
>
> Meinte van't Kruis skrev:
>
>  pretty cool, would be nice to work out the concept and add some features
> > here and there
> >
> > On Wed, Apr 23, 2008 at 11:04 AM, Christoffer Enedahl <
> > [EMAIL PROTECTED]> wrote:
> >
> >
> >
> > > This weekend I participated in ludum dare 48h, A bi-annual 48 hour
> > > solo
> > > game development competition.
> > >
> > > In the contest you are given a theme and you have to make a game of
> > > that
> > > theme from scratch in 48 hours. You must make all content yourself.
> > >
> > > I made a 2d topdown boat game in as3.
> > > Including source.
> > >
> > >
> > >
> > > http://www.imitationpickles.org/ludum/2008/04/20/exxon-the-decontaminator-2/
> > >
> > > /Christoffer aka drZool
> > >
> > > ___
> > > Flashcoders mailing list
> > > Flashcoders@chattyfig.figleaf.com
> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >
> > >
> > >
> >
> >
> >
> >
> >
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] New game: Exxon - The decontaminator

2008-04-23 Thread Meinte van&#x27;t Kruis
pretty cool, would be nice to work out the concept and add some features
here and there

On Wed, Apr 23, 2008 at 11:04 AM, Christoffer Enedahl <
[EMAIL PROTECTED]> wrote:

> This weekend I participated in ludum dare 48h, A bi-annual 48 hour solo
> game development competition.
>
> In the contest you are given a theme and you have to make a game of that
> theme from scratch in 48 hours. You must make all content yourself.
>
> I made a 2d topdown boat game in as3.
> Including source.
>
>
> http://www.imitationpickles.org/ludum/2008/04/20/exxon-the-decontaminator-2/
>
> /Christoffer aka drZool
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Sending messages to FMS from a PHP server

2008-04-22 Thread Meinte van&#x27;t Kruis
maybe the whole trick to this is to fake a netconnection in php, building
the right packets in amf, sending it and then doing a call like you would
from a swf... Seems a bit messy, but can't really think of something else.

On Tue, Apr 22, 2008 at 11:41 AM, Meinte van't Kruis <[EMAIL PROTECTED]>
wrote:

> thanks for the pointer, I'm looking into it. Meanwhile I'm wondering how
> this looks like at the FMS side of things, any ideas? It almost looks like
> I'd have to fake a netconnection call response, but I'm sure thats not the
> way to go(I certainly wouldn't want it to be).
>
>
> On Tue, Apr 22, 2008 at 11:23 AM, Glen Pike <[EMAIL PROTECTED]>
> wrote:
>
> > Hi,
> >
> >   I have not done this, but I would look at using the AMFPHP
> > serialization classes to format my data then use something like Curl or
> > fwrite (if "wrappers" are enabled and allowed on your server) for HTTP type
> > messaging.
> >
> >   HTH
> >
> >   Glen
> >
> >
> > Meinte van't Kruis wrote:
> >
> > > Hi Folks,
> > >
> > > I'm not sure if this is the right list for these kinds of questions,
> > > but
> > > I'll give it a shot anyway.
> > >
> > > What I want to do is push data from PHP to Flash Media Server. I
> > > haven't
> > > seen it elsewhere,
> > > and can't really find any people who did such a thing, but maybe I'm
> > > overlooking the obvious.
> > > I can't imagine it's totally impossible, and I kinda thought AMFPHP or
> > > WebOrb would provide
> > > methods for this, but alas, WebOrb only has messaging support on their
> > > j2ee
> > > and .net version,
> > > no such thing for PHP and blazeDS and all these kinds of technologies
> > > all
> > > run on j2ee or
> > > different, I haven't seen any PHP implementation to provide an API for
> > > sending AMF directly
> > > from PHP (push, instead of pull).
> > >
> > > So if anyone has any clues or experience with this, it would be
> > > greatly
> > > appreciated!
> > >
> > >
> > >
> >
> > --
> >
> > Glen Pike
> > 01326 218440
> > www.glenpike.co.uk <http://www.glenpike.co.uk>
> >
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
>
>
>
> --
> M.A. van't Kruis
> http://www.malatze.nl/
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Sending messages to FMS from a PHP server

2008-04-22 Thread Meinte van&#x27;t Kruis
thanks for the pointer, I'm looking into it. Meanwhile I'm wondering how
this looks like at the FMS side of things, any ideas? It almost looks like
I'd have to fake a netconnection call response, but I'm sure thats not the
way to go(I certainly wouldn't want it to be).

On Tue, Apr 22, 2008 at 11:23 AM, Glen Pike <[EMAIL PROTECTED]>
wrote:

> Hi,
>
>   I have not done this, but I would look at using the AMFPHP serialization
> classes to format my data then use something like Curl or fwrite (if
> "wrappers" are enabled and allowed on your server) for HTTP type messaging.
>
>   HTH
>
>   Glen
>
>
> Meinte van't Kruis wrote:
>
> > Hi Folks,
> >
> > I'm not sure if this is the right list for these kinds of questions, but
> > I'll give it a shot anyway.
> >
> > What I want to do is push data from PHP to Flash Media Server. I haven't
> > seen it elsewhere,
> > and can't really find any people who did such a thing, but maybe I'm
> > overlooking the obvious.
> > I can't imagine it's totally impossible, and I kinda thought AMFPHP or
> > WebOrb would provide
> > methods for this, but alas, WebOrb only has messaging support on their
> > j2ee
> > and .net version,
> > no such thing for PHP and blazeDS and all these kinds of technologies
> > all
> > run on j2ee or
> > different, I haven't seen any PHP implementation to provide an API for
> > sending AMF directly
> > from PHP (push, instead of pull).
> >
> > So if anyone has any clues or experience with this, it would be greatly
> > appreciated!
> >
> >
> >
>
> --
>
> Glen Pike
> 01326 218440
> www.glenpike.co.uk <http://www.glenpike.co.uk>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Sending messages to FMS from a PHP server

2008-04-22 Thread Meinte van&#x27;t Kruis
Hi Folks,

I'm not sure if this is the right list for these kinds of questions, but
I'll give it a shot anyway.

What I want to do is push data from PHP to Flash Media Server. I haven't
seen it elsewhere,
and can't really find any people who did such a thing, but maybe I'm
overlooking the obvious.
I can't imagine it's totally impossible, and I kinda thought AMFPHP or
WebOrb would provide
methods for this, but alas, WebOrb only has messaging support on their j2ee
and .net version,
no such thing for PHP and blazeDS and all these kinds of technologies all
run on j2ee or
different, I haven't seen any PHP implementation to provide an API for
sending AMF directly
from PHP (push, instead of pull).

So if anyone has any clues or experience with this, it would be greatly
appreciated!

-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Tweening Engines for AS3

2008-04-08 Thread Meinte van&#x27;t Kruis
cool!

On Tue, Apr 8, 2008 at 8:33 AM, Jack Doyle <[EMAIL PROTECTED]> wrote:

> I know this is an old thread, but I wanted to mention a few things that
> might interest a few of you:
>
> 1) The entire TweenLite family now does synchronized tweens.
>
> 2) TweenLite's "big brother", TweenMax, was just released and it adds
> support for Bezier tweens, sequencing, hex color tweening, and a bunch
> more
> features. It does everything TweenLite and TweenFilterLite do plus more.
>
> 3) In addition to normal Bezier tweening, TweenMax has a "bezierThrough"
> feature that allows you to define points through which you want the bezier
> curve to travel (instead of normal control points that simply attract the
> curve)
>
> There's an interactive demo that lets you play with the Bezier
> functionality, as well as a feature comparison chart for TweenLite,
> TweenFilterLite, and TweenMax, and a Bezier speed test all available at
> www.TweenMax.com. Of course everything is available in AS2 and AS3.
>
> Cheers!
>
> Jack
>
>
> -Original Message-
> From: Meinte van't Kruis [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 24, 2008 1:51 PM
> To: Flash Coders List
> Subject: Re: [Flashcoders] Tweening Engines for AS3
>
> Tweenlite has one lil thingy against it though; tweens aren't
> synchronised.
> It doesn't happen much that this becomes a problem, though I can imagine
> projects where people want lots of tweens ending at the same time, which
> simply won't happen with lots of objects in TweenLite, other than
> that it's pretty sweet.
>
> On Mon, Mar 24, 2008 at 7:20 PM, eric e. dolecki <[EMAIL PROTECTED]>
> wrote:
>
> > third TweenLite and TweenFilterLite
> >
> > On Mon, Mar 24, 2008 at 1:51 PM, Dave Mennenoh <
> [EMAIL PROTECTED]
> > >
> > wrote:
> >
> > > I prefer Tweener, and if you've ever used Fuse you'll like it's
> syntax.
> > > It's
> > > also quite small - adds about 8K.
> > >
> > > Dave -
> > > Head Developer
> > > http://www.blurredistinction.com
> > > Adobe Community Expert
> > > http://www.adobe.com/communities/experts/
>
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] embedded fonts

2008-04-04 Thread Meinte van&#x27;t Kruis
as for font strangeness, this page is very helpful;

http://www.connectedpixel.com/blog/fonts/embedding

On Thu, Apr 3, 2008 at 7:13 PM, Kenneth Kawamoto <[EMAIL PROTECTED]>
wrote:

> For embedded fonts you can either use the actual font name (as you have
> discovered it already), or YourFontClass.fontName
>
> Kenneth Kawamoto
> http://www.materiaprima.co.uk/
>
>
> Allandt Bik-Elliott (Receptacle) wrote:
>
> > wotcha
> >
> > i have a quick query about embedded fonts.
> >
> > I thought that when you used them in the movie, that you should call
> > them by the Class name in the linkage identifier however when I try to do
> > this, my text disappears (i have embedFonts set to true and I've triple
> > checked the names), however when i use the font's original name, export,
> > close the fonts and then open the swf, everything works as it should.
> >
> > Was I originally wrong or is there something screwy going on with this?
> >
> > examples:
> >
> > original font: Helvetica 75 Bold
> > Linkage class name: Helvetica75Bold
> > Name used as .font property: "Helvetica75Bold" // causes text to
> > disappear
> > Name used as .font property: "Helvetica 75 Bold" // causes text to
> > reappear
> >
> > original font: Helvetica with B selected
> > Linkage class name: HelveticaBold
> > Name used as .font property: "HelveticaBold" // causes text to disappear
> > Name used as .font property: "Helvetica" // causes text to reappear
> >
> > hope you can help because this doesn't seem right to me.
> >
> > thanks
> > a
> >
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash IRC Client

2008-04-03 Thread Meinte van&#x27;t Kruis
this is what I came across today;

http://blog.je2050.de/2006/02/15/flirc-next-version-with-flex2-beta-1/


On Thu, Apr 3, 2008 at 1:46 AM, Elia Morling <[EMAIL PROTECTED]> wrote:

> Are there any Flash IRC clients that can connect to a real IRC server
> network? Preferably skinnable?
>
> Thanks
> Elia
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] some dying logic ...

2008-04-03 Thread Meinte van&#x27;t Kruis
thanks,cool thread.

Now I have to drink some coffee, become less confused and let it sink in :)

On Wed, Apr 2, 2008 at 9:15 PM, EECOLOR <[EMAIL PROTECTED]> wrote:

> >granted that the eventListener was added with a weak reference
>
> This seems to be one of the biggest mis-understandings these days. The
> listener does *not*add a reference to the object that you are
> listening too. For extensive discussion and proof of this issue you
> can read the following thread:
>
>
>
> http://www.mail-archive.com/flashcoders@chattyfig.figleaf.com/msg38700.html
>
> In short: adding a listener to an object will only create a reference from
> the object to the listener, not the other way around. This means that you
> can remove the object without removing the listener, the object will then
> still be garbage collected.
>
>
> Greetz Erik
>
>
> On 4/2/08, Meinte van't Kruis <[EMAIL PROTECTED]> wrote:
> >
> > granted that the eventListener was added with a weak reference
> >
> > On Wed, Apr 2, 2008 at 3:35 PM, EECOLOR <[EMAIL PROTECTED]> wrote:
> >
> > > *if (this.basicNews != null) {
> >
> > >this.basicNews.removeEventListener(RepeaterEvent.CLICK,
> > > this.onNewsClicked);
> > >   this.removeChild(this.basicNews);
> > >   this.basicNews.die();
> > >   this.basicNews = null;
> > > }*
> > >
> > > In the above code I do not see why you would need any more then the
> > > following lines:
> > >
> > > *basicNews = null;
> > > removeChild(basicNews);*
> > >
> > > All references to basicNews are now removed and it is (along with its
> > > children) marked for garbage collection. Calling the other extra
> methods
> > > seems a waste of CPU.
> > >
> > >
> > > Greetz Erik
> > >
> > >
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] some dying logic ...

2008-04-02 Thread Meinte van&#x27;t Kruis
granted that the eventListener was added with a weak reference

On Wed, Apr 2, 2008 at 3:35 PM, EECOLOR <[EMAIL PROTECTED]> wrote:

> *if (this.basicNews != null) {
>this.basicNews.removeEventListener(RepeaterEvent.CLICK,
> this.onNewsClicked);
>   this.removeChild(this.basicNews);
>   this.basicNews.die();
>   this.basicNews = null;
> }*
>
> In the above code I do not see why you would need any more then the
> following lines:
>
> *basicNews = null;
> removeChild(basicNews);*
>
> All references to basicNews are now removed and it is (along with its
> children) marked for garbage collection. Calling the other extra methods
> seems a waste of CPU.
>
>
> Greetz Erik
>
>
> On 4/1/08, Cedric Muller <[EMAIL PROTECTED]> wrote:
> >
> > Hello,
> >
> > I did develop a global process, in which my customized objects do have a
> > 'die' method which is called in the end of an object's life in order to
> > clean *everything* (like removing internal movieclips, sprites,
> listeners,
> > timers, ..)
> >
> > this is what I came up with: the following block code is part of
> > MyWhateverObject die method:
> >
> > //  basicNews is some basic Repeater 
> > if (this.basicNews != null) {
> >this.basicNews.removeEventListener(RepeaterEvent.CLICK,
> > this.onNewsClicked);
> >this.removeChild(this.basicNews);
> >this.basicNews.die();
> >this.basicNews = null;
> > }
> >
> > my question is the following: when would you call the basicNews.die()
> > method ? BEFORE or AFTER the 'this.removeChild(this.basicNews)' ?
> >
> > tia,
> > Cedric
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AS3 MouseEvent target?

2008-04-02 Thread Meinte van&#x27;t Kruis
so how does it work internally for displayObjects? Can a developer emulate
this behaviours somehow?(cant imagine it since target and currentTarget are
readonly)

On Tue, Apr 1, 2008 at 10:01 PM, Merrill, Jason <
[EMAIL PROTECTED]> wrote:

> Well, you still haven't convinced me it isn't kludy, but no bother
> your perspective - my perspective - both different, doesn't matter in
> the end. :)
>
> Jason Merrill
> Bank of America
> GT&O and Risk L&LD Solutions Design & Development
> eTools & Multimedia
>
> Bank of America Flash Platform Developer Community
>
>
> Are you a Bank of America associate interested in innovative learning
> ideas and technologies?
> Check out our internal  GT&O Innovative Learning Blog & subscribe.
>
>
>
>
>
>
> >>-Original Message-
> >>From: [EMAIL PROTECTED]
> >>[mailto:[EMAIL PROTECTED] On Behalf
> >>Of Steven Sacks
> >>Sent: Tuesday, April 01, 2008 3:05 PM
> >>To: Flash Coders List
> >>Subject: Re: [Flashcoders] AS3 MouseEvent target?
> >>
> >>Extending DisplayObject to access some of its native
> >>functionality (e.g.
> >>event bubbling) seems fine to me, especially if you look at
> >>it from the perspective of EventDispatcher has events and
> >>DisplayObject extends EventDispatcher and adds bubbling
> >>functionality.  If you need bubbling, extend the class that
> >>provides that.
> >>
> >>The whole non-visual argument is a bit of a red herring
> >>considering we're using Flash and, until recently, all
> >>Actionscript was inside of or attached to a display object
> >>(MovieClip).  Technically, it still is.  ;)
> >>
> >>Flash is a visual tool, and I maximize my productivity by
> >>leveraging it fully.  Flash has all kinds of great
> >>Flash-centric features and you can definitely use them to
> >>your advantage.  It's not "hacking" to use the API given to you.  :)
> >>
> >>___
> >>Flashcoders mailing list
> >>Flashcoders@chattyfig.figleaf.com
> >>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AS3 MouseEvent target?

2008-04-01 Thread Meinte van&#x27;t Kruis
the problem with most explanations about event bubbling is that it
concentrates on the displaylist (understandable), i'd like to see an example
of custom events being bubbled. Though Steven's probably right, playing with
it helps alot.

On Tue, Apr 1, 2008 at 12:49 PM, Allandt Bik-Elliott (Receptacle) <
[EMAIL PROTECTED]> wrote:

> thanks Jiri
>
> i've just got the design patterns book so i'll be digging into that
> at some point in the near future
>
> a
>
> On 1 Apr 2008, at 10:40, Jiri Heitlager wrote:
>
> > I think the best way to learn about Event Bubbling is understanding
> > the Composite desing pattern. This is the pattern the DisplayList
> > is implementing and bubbling will make much more sense when you
> > understand the workings of the Composite Pattern. At least it did
> > for me.
> >
> > Jiri
> >
> > Steven Sacks wrote:
> >> IMO, explaining Event Bubbling as the reason the TextField is the
> >> target is complicating the immediate solution he needs, which is
> >> mouseChildren = false.
> >> Yes, it's Event Bubbling that's causing the target to be the
> >> TextField.  To understand Event Bubbling, read about it in the
> >> docs, or better yet, in a book (like Moock's).  But, then you MUST
> >> do it yourself to learn how it works.  If you don't play with it
> >> yourself, you will never "get it" no matter how much somebody
> >> explains it to you.  I'm fully convinced of that.  You gotta mess
> >> around with it to fully understand why it's so amazingly awesome.
> >> ___
> >> Flashcoders mailing list
> >> Flashcoders@chattyfig.figleaf.com
> >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Tweening Engines for AS3

2008-03-25 Thread Meinte van&#x27;t Kruis
true, but knowing so saves a lot of wtf's when you do have lots of stuff
tweening and want it in sync ;)

On Mon, Mar 24, 2008 at 7:58 PM, Zeh Fernando <[EMAIL PROTECTED]>
wrote:

> While I agree with the speed thing, let's just keep this in context -
> it's so when you have a lot of tweenings going on at the exact same
> time. A few tweens won't produce a difference in terms of framerate. If
> they do, there's something else wrong.
>
> Still, I think we should be glad there are so many alternatives. :)
>
>
> Zeh
>
> Steven Sacks wrote:
> > Tweener is proven to be significantly slower than TweenLite, and it's
> > almost 300% larger (TweenLite is 3k vs Tweener's 8k).
> >
> > I'm not telling you what to do. You're welcome to your preference. I
> > prefer to write better, faster, smaller, more efficient code.  Different
> > strokes for different folks, I guess.  :)
> >
> >
> > Dave Mennenoh wrote:
> >> I prefer Tweener, and if you've ever used Fuse you'll like it's
> >> syntax. It's also quite small - adds about 8K.
> >>
> >> Dave -
> >> Head Developer
> >> http://www.blurredistinction.com
> >> Adobe Community Expert
> >> http://www.adobe.com/communities/experts/
> >> ___
> >> Flashcoders mailing list
> >> Flashcoders@chattyfig.figleaf.com
> >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >>
> >
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Tweening Engines for AS3

2008-03-24 Thread Meinte van&#x27;t Kruis
Tweenlite has one lil thingy against it though; tweens aren't synchronised.
It doesn't happen much that this becomes a problem, though I can imagine
projects where people want lots of tweens ending at the same time, which
simply won't happen with lots of objects in TweenLite, other than
that it's pretty sweet.

On Mon, Mar 24, 2008 at 7:20 PM, eric e. dolecki <[EMAIL PROTECTED]> wrote:

> third TweenLite and TweenFilterLite
>
> On Mon, Mar 24, 2008 at 1:51 PM, Dave Mennenoh <[EMAIL PROTECTED]
> >
> wrote:
>
> > I prefer Tweener, and if you've ever used Fuse you'll like it's syntax.
> > It's
> > also quite small - adds about 8K.
> >
> > Dave -
> > Head Developer
> > http://www.blurredistinction.com
> > Adobe Community Expert
> > http://www.adobe.com/communities/experts/
> >
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Variable scope within for loops: reusing iterator variables

2008-03-24 Thread Meinte van&#x27;t Kruis
besides, the compiler only warns you that you're about the overwrite the
variable, by
re-assigning it. In case of 2 loops(where the variable is only used within
the loop),
it doesn't have any real consequences.

On Mon, Mar 24, 2008 at 4:56 PM, Cory Petosky <[EMAIL PROTECTED]>
wrote:

> Jonathon:
>
> In any other language, the scope would be as you describe. AS3 doesn't
> have block-level scoping -- the most local scope is always the
> function. Declaring a variable anywhere but the first line of a
> function is a lie -- the VM declares all variables as the first set of
> operations after pushing the function call on the stack.
>
> On Mon, Mar 24, 2008 at 7:36 AM, Andrew Sinning <[EMAIL PROTECTED]>
> wrote:
> > You are correct Jonathan, but loop blocks are delimited by brackets, so
> >  the "for ( ... )" declaration is outside of the loop block.
> >
> >
> >  jonathan howe wrote:
> >  > I had always thought that the scope of variables declared in the
> >  > initialization part of the for loop were local to the loop block
> >
> >
> >
> > ___
> >  Flashcoders mailing list
> >  Flashcoders@chattyfig.figleaf.com
> >  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
>
>
>
> --
> Cory Petosky : Lead Developer : PUNY
> 1618 Central Ave NE Suite 130
> Minneapolis, MN 55413
> Office: 612.216.3924
> Mobile: 240.422.9652
> Fax: 612.605.9216
> http://www.punyentertainment.com
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Decorator Pattern - removing a decorator

2008-03-20 Thread Meinte van&#x27;t Kruis
it's better to code and accidentally discover you've used a design pattern,
than beginning to code thinking you have to use a specifick pattern, but
that's just my humble opinion.

On Thu, Mar 20, 2008 at 6:08 PM, Jiri Heitlager <
[EMAIL PROTECTED]> wrote:

> I could use another design pattern, but I need to figure out which one
> then. The application is one where the user can selected certain items
> and those items are put on a canvas. Then when the user selects the item
> on the canvas, a panel shows up that allows the item to be rotated,
> scaled and possible edited ,i.e add text. I thought that the decorator
> would be perfect for this.
> Come to think of it maybe it still is. I really dont ever need to remove
> any decorator that is added do I.
> Them item starts blank and when the user rotates it, I just add a
> decorator, rotatorModifier. Then the decorator  interface has a method
> setModifierProperty(key , value), in this case key = "rot" value=number.
> The decorator component holds a hash and checks if
> hash["rot"]!=undefined, then adds the rot and the value. Then calls an
> update method to reflect the property set.
> Deleting the modifier would be then just setting the hash["rot"] to 0.
>
> Does that make sense and I am approaching this in a efficient way. I am
> quit new to design patterns, but fell in love with there elegance and
> would like to learn how to implement them as best as possible. Some
> feedback would be very much appreciated.
>
> Jiri
>
> Cory Petosky wrote:
> > That's not really how Decorator is meant to work.
> >
> > You could hack around it by exposing the decorated instance in your
> > Decorator interface, digging down to it, and using a bunch of
> > instanceof calls to figure out which is which. I really don't
> > recommend this, though -- instead, use a different design pattern or
> > program architecture.
> >
> > On 3/20/08, Jiri Heitlager <[EMAIL PROTECTED]> wrote:
> >> Hello List,
> >>
> >>  i am looking into the decorator pattern for an upcoming AS2 project. I
> was
> >>  wondering if the following is possible
> >>
> >>  var com:Component = new Component()
> >>
> >>  com = new decoratorA(com)
> >>  com = new decoratorB(decA)
> >>  com = new decoratorC(decB)
> >>
> >>  I cant seem to figure out what I need to do in order to remove let say
> >>  decB at runtime? I tried a search on the internet, but all the
> articles
> >>  about the decorator pattern are about runtime adding, not removing.
> >>
> >>  Can somebody please help me if it is at all possible.
> >>
> >>  Thank you,
> >>
> >>  Jiri
> >>
> >>  ___
> >>  Flashcoders mailing list
> >>  Flashcoders@chattyfig.figleaf.com
> >>  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >>
> >
> >
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] swc

2008-03-20 Thread Meinte van&#x27;t Kruis
pretty much so I guess. I'm using SWC primarily to exclude classes from
compiling in
my swf's (since these are modules and my main SWF has those classes
allready).

On Wed, Mar 19, 2008 at 11:02 PM, Helmut Granda <[EMAIL PROTECTED]>
wrote:

> Interesting approach. so say I have an application with 100 classes and
> say
> 99 of them are ready for production and I am only editing one, I can put
> all
> my other 99 into a swc and use it with my movie without having to compile
> them all together?
>
> On 3/19/08, Meinte van't Kruis <[EMAIL PROTECTED]> wrote:
> >
> > you can use flash cs3 as well, if you dont want to be bothered with fcsh
> > or
> > mxmlc
> >
> > just make a document class, let's say you want to compile test.test just
> > do
> > this
> >
> > import test.test
> > import flash.display.Sprite;
> >
> > public class SWC_export extends Sprite{
> > public function SWC_export(){
> >   if(0){
> >test.test  //trick compiler into thinking
> youre
> > using the class, otherwise it wont get compiled in
> >   }
> > }
> > }
> >
> > select 'export swc' in publish settings and you're done
> >
> > On Tue, Mar 18, 2008 at 3:05 PM, Glen Pike <[EMAIL PROTECTED]>
> > wrote:
> >
> >
> > > You can reduce compile times by using the Flex Compiler Shell.  If you
> > > are using Flash Develop or similar it works as well.
> > >
> > > http://www.google.co.uk/search?hl=en&q=fcsh+compiler&btnG=Search&meta=
> > > <
> http://www.google.co.uk/search?hl=en&q=fcsh+compiler&btnG=Search&meta=>
> > >
> > > This is not a Papervision thing, but it really helps compile times...
> > >
> > > Dwayne Neckles wrote:
> > > > I am gettign long compile times witha papervision project im doing..
> i
> > > have a hunch that if i use somethign called a swc that has the
> > pv3dclasses
> > > precompiled already.. then i can save massive times...
> > > >
> > > > anyone know of a way to create them.. and i dont have flex
> > > >
> > > > _
> > > > Do more with your photos with Windows Live Photo Gallery.
> > > >
> > >
> >
> http://www.windowslive.com/share.html?ocid=TXT_TAGLM_Wave2_photos_022008___
> > > > Flashcoders mailing list
> > > > Flashcoders@chattyfig.figleaf.com
> > > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > > >
> > > >
> > > >
> > >
> > > --
> > >
> > > Glen Pike
> > > 01736 759321
> > > www.glenpike.co.uk <http://www.glenpike.co.uk>
> > > ___
> > > Flashcoders mailing list
> > > Flashcoders@chattyfig.figleaf.com
> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >
> >
> >
> >
> >
> > --
> > M.A. van't Kruis
> > http://www.malatze.nl/
> >
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
>
>
>
> --
> ...helmut
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] swc

2008-03-19 Thread Meinte van&#x27;t Kruis
you can use flash cs3 as well, if you dont want to be bothered with fcsh or
mxmlc

just make a document class, let's say you want to compile test.test just do
this

import test.test
import flash.display.Sprite;

public class SWC_export extends Sprite{
public function SWC_export(){
  if(0){
   test.test  //trick compiler into thinking youre
using the class, otherwise it wont get compiled in
  }
}
}

select 'export swc' in publish settings and you're done

On Tue, Mar 18, 2008 at 3:05 PM, Glen Pike <[EMAIL PROTECTED]>
wrote:

> You can reduce compile times by using the Flex Compiler Shell.  If you
> are using Flash Develop or similar it works as well.
>
> http://www.google.co.uk/search?hl=en&q=fcsh+compiler&btnG=Search&meta=
> 
>
> This is not a Papervision thing, but it really helps compile times...
>
> Dwayne Neckles wrote:
> > I am gettign long compile times witha papervision project im doing.. i
> have a hunch that if i use somethign called a swc that has the pv3dclasses
> precompiled already.. then i can save massive times...
> >
> > anyone know of a way to create them.. and i dont have flex
> >
> > _
> > Do more with your photos with Windows Live Photo Gallery.
> >
> http://www.windowslive.com/share.html?ocid=TXT_TAGLM_Wave2_photos_022008___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> >
> >
>
> --
>
> Glen Pike
> 01736 759321
> www.glenpike.co.uk 
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] frameworks and classes for flash cs3

2008-03-17 Thread Meinte van&#x27;t Kruis
it also depends if you want a structural framework (which would be
cairngorn)
or an application framework(this of would be something like papervision) the
difference beeing
that structural frameworks help you structurise and patternize your own
code,
whereas application frameworks actually do stuff ;).


On Mon, Mar 17, 2008 at 6:49 PM, Merrill, Jason <
[EMAIL PROTECTED]> wrote:

> There are some good Caringorm tutorials out there - that's one of the
> Adobe sanctioned ones, and it's really nice... the first one that made
> sense to me.  Check on the Adobe Developer Network for the tutorial - or
> some others if you Google Cairngorm Tutorial
>
> Jason Merrill
> Bank of America
> GT&O and Risk L&LD Solutions Design & Development
> eTools & Multimedia
>
> Bank of America Flash Platform Developer Community
>
>
> Are you a Bank of America associate interested in innovative learning
> ideas and technologies?
> Check out our internal  GT&O Innovative Learning Blog & subscribe.
>
>
>
>
>
>
> >>-Original Message-
> >>From: [EMAIL PROTECTED]
> >>[mailto:[EMAIL PROTECTED] On Behalf
> >>Of Steven Sacks
> >>Sent: Monday, March 17, 2008 1:35 PM
> >>To: Flash Coders List
> >>Subject: Re: [Flashcoders] frameworks and classes for flash cs3
> >>
> >>You could also google "flash frameworks".  Google is a great tool.
> >>___
> >>Flashcoders mailing list
> >>Flashcoders@chattyfig.figleaf.com
> >>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] 9-slice scaling not working when used as mask

2008-03-14 Thread Meinte van&#x27;t Kruis
actually, let me rephrase that, scale9 is offcourse applied to a movieclip,
but it only works on shapes within this movieclip.

On Fri, Mar 14, 2008 at 12:58 PM, Meinte van't Kruis <[EMAIL PROTECTED]>
wrote:

> scale9 can only be applied to shapes not to movieclips or sprites etc.. So
> thats probably why it wont work with masks and why children of a scale9ed
> movieclip will still distort..
>
>
> On Thu, Mar 13, 2008 at 4:01 PM, Matt S. <[EMAIL PROTECTED]> wrote:
>
> > Speaking of Scale 9, can the "Scaled" MC, eg the one thats actually
> > sitting IN the scaling movie, under the guides, have MC's within it?
> > I've tried to use S9 as a way to control the positioning of nav items,
> > eg, a movieclip, which itself contains multiple MCs, each of which
> > sits in the "safe" zones at the corners. But when I do this, the whole
> > thing still distorts, mcs at corners included. Am I using S9 for
> > something it werent intended fer? :)
> >
> > thx,
> >
> > .m
> > ___
> > Flashcoders mailing list
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
>
>
>
> --
> M.A. van't Kruis
> http://www.malatze.nl/




-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] 9-slice scaling not working when used as mask

2008-03-14 Thread Meinte van&#x27;t Kruis
scale9 can only be applied to shapes not to movieclips or sprites etc.. So
thats probably why it wont work with masks and why children of a scale9ed
movieclip will still distort..

On Thu, Mar 13, 2008 at 4:01 PM, Matt S. <[EMAIL PROTECTED]> wrote:

> Speaking of Scale 9, can the "Scaled" MC, eg the one thats actually
> sitting IN the scaling movie, under the guides, have MC's within it?
> I've tried to use S9 as a way to control the positioning of nav items,
> eg, a movieclip, which itself contains multiple MCs, each of which
> sits in the "safe" zones at the corners. But when I do this, the whole
> thing still distorts, mcs at corners included. Am I using S9 for
> something it werent intended fer? :)
>
> thx,
>
> .m
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] getting SoundChannel out of a NetStream

2008-02-28 Thread Meinte van&#x27;t Kruis
Hi Folks,

At the moment we have a project which loads in Mp3 from 2 different sources;

one is progressive  <- We use the Sound class to Load this one
the other is streaming  <- We use the NetStream class to load this one

We have a visual effect which listens to the volume and then reacts to it,
we use soundchannel for this.

_soundChannel=soundObject.play()

visualeffect.alpha=_soundChannel.rightPeak.

This all works peachy. IF I have a Sound object.

With the Netstream there doesn't seem to be any way to read any sound
properties(like rightPeak in Soundchannel), since there is no way extract a
soundchannel from a Netstream(which seems odd, doesn't it?)

So my question; Does anyone have any clue as to how to get a Sound object or
SoundChannel object from a Netstream (soundTransform is fairly useless,
it will only let us change the volume parameters, not read it)... Or is this
restricted with Netstream the same way we can't read pixels from a
netstreamed video?

thanks for any pointers!

-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] AS3 singleton not working across multiple loaded swf

2008-02-15 Thread Meinte van&#x27;t Kruis
I've never had that problem. To avoid conflicts between classes of loaded
swf's, I usually set the loader context to the current domain of the loading
SWF, maybe it helps in your case too.

On Fri, Feb 15, 2008 at 2:22 AM, Patrick Matte | BLITZ <
[EMAIL PROTECTED]> wrote:

> The only way I have been able to use a singleton across loaded swfs in AS3
> is if it was first referenced in the main swf.
>
> Any other singleton I use that are not referenced in the main swf work
> only within the swf they are contained into.
>
> Is this a normal behavior in AS3 ? Does it have anything to do with
> ApplicationDomain?
>
>
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash player 9.0.47 serious issue (maybe some 9 versions before too)

2008-02-08 Thread Meinte van&#x27;t Kruis
hmm, the only difference in code I can spot right now, is that you have the
Circle class
attached to the DisplayObject itself, rather than the Document root, does it
crash
when you put the Circle class on the Document root?


On Feb 8, 2008 9:30 AM, Jason Van Cleave <[EMAIL PROTECTED]> wrote:

> I have been working with this technique a lot today so I downgraded to
> 9.047on the mac but I am not getting any crashes.
>
> i did see this come through tho
>
> Error #2044: Unhandled IOErrorEvent:. text=Error #2036: Load Never
> Completed.
>
> I started with my code then tried the above changes with the files here:
>
> http://darylteo.com/blog/wp-content/uploads/2007/11/assetlibraries.zip
>
> On Feb 7, 2008 6:48 PM, Kenneth Kawamoto <[EMAIL PROTECTED]>
> wrote:
>
> > I'm on a Mac at the moment and I can verify this crashes both Firefox
> > and Safari immediately. It would be interesting to find out why, but as
> > this is the old player we are talking about, Adobe won't be looking
> into.
> >
> > Since it works on Moviestar (works on both PC/Mac), can you just check
> > the player version installed with SWFObject and do the ExpressInstall if
> > Moviestar is not present? (The last time I checked, the ExpressInstall
> > was not working on Mac at all though, but that's another matter...)
> >
> > Kenneth Kawamoto
> > http://www.materiaprima.co.uk/
> >
> > Meinte van't Kruis wrote:
> > > Actually, the trace doesn't really matter. The point is, flash player
> of
> > > that version keeps crashing whenever I try to get a class definition
> > > from an external SWF, and after this instantiating that class.
> > >
> > > the line producing the crash is then this one; var tmp:* = new
> > skinClass();
> > >
> > > On Feb 7, 2008 5:49 PM, Kenneth Kawamoto <[EMAIL PROTECTED]
> > > <mailto:[EMAIL PROTECTED]>> wrote:
> > >
> > > Oops you said Circle was the Document class.
> > >
> > > var appDomain:ApplicationDomain = e.target.applicationDomain;
> > > var skinClass:Class =
> > > appDomain.getDefinition(getQualifiedClassName(e.target.content))
> as
> > > Class;
> > > trace("skinClass: " + skinClass);
> > >
> > > then it's the same as yours basically. Sorry about the noise!
> > >
> > > Kenneth Kawamoto
> > > http://www.materiaprima.co.uk/
> > >
> > > Kenneth Kawamoto wrote:
> > >  > private function onComplete(e:Event):void {
> > >  >var appDomain:ApplicationDomain =
> > >  > e.target.loader.contentLoaderInfo.applicationDomain;
> > >  >var skinClass:Class =
> > >  >
> > > appDomain.getDefinition(getQualifiedClassName(
> > e.target.content.getChildAt(0)))
> > >  > as Class;
> > >  >trace("skinClass: " + skinClass);
> > >  > }
> > >  >
> > >  > Output:
> > >  > skinClass: [class Circle]
> > >  >
> > >  > Kenneth Kawamoto
> > >  > http://www.materiaprima.co.uk/
> > >  >
> > >  > Meinte van't Kruis wrote:
> > >  >> I find the following:
> > >  >>
> > >  >> When following the methods described by Daryl Theo (at
> > >  >>
> > >
> >
> http://darylteo.com/blog/2007/11/16/abstracting-assets-from-actionscript-in-as30-asset-libraries/
> > >  >>
> > >  >> )
> > >  >> to duplicate DisplayObjects works fine in flash player 9.0.115
> > >  >> (latest). In
> > >  >> version 9.0.47 it repeatedly crashes the browser (both firefox
> > in
> > >  >> ie)... I
> > >  >> wonder
> > >  >> if anyone else has this problem. To reproduce, simple instal
> > 9.0.47,
> > >  >> follow
> > >  >> the steps by Daryl, and voila, a browser crash.
> > >  >>
> > >  >> In short, make an swf, with document class Circle
> > >  >>
> > >  >> then load in your main swf, with the following code in the
> > > onComplete
> > >  >> handler;
> > >  >>
> > >  >> private function onComplete(e:Event) {
> > >  >> var appDomain:ApplicationDomain =
> > > e.target.app

Re: [Flashcoders] Flash player 9.0.47 serious issue (maybe some 9 versions before too)

2008-02-08 Thread Meinte van&#x27;t Kruis
I've just checked. Setting Circle class on the displayobject itself works
fine. It only crashes when setting
the Circle class as a Document class...

So I guess that would make a fine solution, attaching the Class to the
object itself, rather than the document.

On Feb 8, 2008 9:47 AM, Meinte van't Kruis <[EMAIL PROTECTED]> wrote:

> hmm, the only difference in code I can spot right now, is that you have
> the Circle class
> attached to the DisplayObject itself, rather than the Document root, does
> it crash
> when you put the Circle class on the Document root?
>
>
>
> On Feb 8, 2008 9:30 AM, Jason Van Cleave <[EMAIL PROTECTED]> wrote:
>
> > I have been working with this technique a lot today so I downgraded to
> > 9.047on the mac but I am not getting any crashes.
> >
> > i did see this come through tho
> >
> > Error #2044: Unhandled IOErrorEvent:. text=Error #2036: Load Never
> > Completed.
> >
> > I started with my code then tried the above changes with the files here:
> >
> > http://darylteo.com/blog/wp-content/uploads/2007/11/assetlibraries.zip
> >
> > On Feb 7, 2008 6:48 PM, Kenneth Kawamoto <[EMAIL PROTECTED]>
> > wrote:
> >
> > > I'm on a Mac at the moment and I can verify this crashes both Firefox
> > > and Safari immediately. It would be interesting to find out why, but
> > as
> > > this is the old player we are talking about, Adobe won't be looking
> > into.
> > >
> > > Since it works on Moviestar (works on both PC/Mac), can you just check
> > > the player version installed with SWFObject and do the ExpressInstall
> > if
> > > Moviestar is not present? (The last time I checked, the ExpressInstall
> > > was not working on Mac at all though, but that's another matter...)
> > >
> > > Kenneth Kawamoto
> > > http://www.materiaprima.co.uk/
> > >
> > > Meinte van't Kruis wrote:
> > > > Actually, the trace doesn't really matter. The point is, flash
> > player of
> > > > that version keeps crashing whenever I try to get a class definition
> > > > from an external SWF, and after this instantiating that class.
> > > >
> > > > the line producing the crash is then this one; var tmp:* = new
> > > skinClass();
> > > >
> > > > On Feb 7, 2008 5:49 PM, Kenneth Kawamoto <[EMAIL PROTECTED]
> > > > <mailto:[EMAIL PROTECTED]>> wrote:
> > > >
> > > > Oops you said Circle was the Document class.
> > > >
> > > > var appDomain:ApplicationDomain = e.target.applicationDomain;
> > > > var skinClass:Class =
> > > > appDomain.getDefinition(getQualifiedClassName(e.target.content))
> > as
> > > > Class;
> > > > trace("skinClass: " + skinClass);
> > > >
> > > > then it's the same as yours basically. Sorry about the noise!
> > > >
> > > > Kenneth Kawamoto
> > > > http://www.materiaprima.co.uk/
> > > >
> > > > Kenneth Kawamoto wrote:
> > > >  > private function onComplete(e:Event):void {
> > > >  >var appDomain:ApplicationDomain =
> > > >  > e.target.loader.contentLoaderInfo.applicationDomain;
> > > >  >var skinClass:Class =
> > > >  >
> > > > appDomain.getDefinition(getQualifiedClassName(
> > > e.target.content.getChildAt(0)))
> > > >  > as Class;
> > > >  >trace("skinClass: " + skinClass);
> > > >  > }
> > > >  >
> > > >  > Output:
> > > >  > skinClass: [class Circle]
> > > >  >
> > > >  > Kenneth Kawamoto
> > > >  > http://www.materiaprima.co.uk/
> > > >  >
> > > >  > Meinte van't Kruis wrote:
> > > >  >> I find the following:
> > > >  >>
> > > >  >> When following the methods described by Daryl Theo (at
> > > >  >>
> > > >
> > >
> > http://darylteo.com/blog/2007/11/16/abstracting-assets-from-actionscript-in-as30-asset-libraries/
> > > >  >>
> > > >  >> )
> > > >  >> to duplicate DisplayObjects works fine in flash player
> > 9.0.115
> > > >  >> (latest). In
> > > >  >> versio

Re: [Flashcoders] Flash player 9.0.47 serious issue (maybe some 9 versions before too)

2008-02-07 Thread Meinte van&#x27;t Kruis
Actually, the trace doesn't really matter. The point is, flash player of
that version keeps crashing whenever I try to get a class definition from an
external SWF, and after this instantiating that class.

the line producing the crash is then this one; var tmp:* = new skinClass();

On Feb 7, 2008 5:49 PM, Kenneth Kawamoto <[EMAIL PROTECTED]> wrote:

> Oops you said Circle was the Document class.
>
> var appDomain:ApplicationDomain = e.target.applicationDomain;
> var skinClass:Class =
> appDomain.getDefinition(getQualifiedClassName(e.target.content)) as Class;
> trace("skinClass: " + skinClass);
>
> then it's the same as yours basically. Sorry about the noise!
>
> Kenneth Kawamoto
> http://www.materiaprima.co.uk/
>
> Kenneth Kawamoto wrote:
> > private function onComplete(e:Event):void {
> >var appDomain:ApplicationDomain =
> > e.target.loader.contentLoaderInfo.applicationDomain;
> >var skinClass:Class =
> > appDomain.getDefinition(getQualifiedClassName(
> e.target.content.getChildAt(0)))
> > as Class;
> >trace("skinClass: " + skinClass);
> > }
> >
> > Output:
> > skinClass: [class Circle]
> >
> > Kenneth Kawamoto
> > http://www.materiaprima.co.uk/
> >
> > Meinte van't Kruis wrote:
> >> I find the following:
> >>
> >> When following the methods described by Daryl Theo (at
> >>
> http://darylteo.com/blog/2007/11/16/abstracting-assets-from-actionscript-in-as30-asset-libraries/
> >>
> >> )
> >> to duplicate DisplayObjects works fine in flash player 9.0.115
> >> (latest). In
> >> version 9.0.47 it repeatedly crashes the browser (both firefox in
> >> ie)... I
> >> wonder
> >> if anyone else has this problem. To reproduce, simple instal 9.0.47,
> >> follow
> >> the steps by Daryl, and voila, a browser crash.
> >>
> >> In short, make an swf, with document class Circle
> >>
> >> then load in your main swf, with the following code in the onComplete
> >> handler;
> >>
> >> private function onComplete(e:Event) {
> >> var appDomain:ApplicationDomain =
> e.target.applicationDomain;
> >>
> >> var skinClass:Class = appDomain.getDefinition
> >> (getQualifiedClassName(e.target.loader.content)) as Class;
> >>
> >> trace("CLASS: " + skinClass);
> >>
> >> //var tmp:* = new skinClass();   <- uncommenting this
> >> line
> >> crashes the browser
> >> }
> >>
> >>
> >> Any ideas, or other ideas to clone a displayobject?
> >>
> >
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Flash player 9.0.47 serious issue (maybe some 9 versions before too)

2008-02-07 Thread Meinte van&#x27;t Kruis
I find the following:

When following the methods described by Daryl Theo (at
http://darylteo.com/blog/2007/11/16/abstracting-assets-from-actionscript-in-as30-asset-libraries/
)
to duplicate DisplayObjects works fine in flash player 9.0.115 (latest). In
version 9.0.47 it repeatedly crashes the browser (both firefox in ie)... I
wonder
if anyone else has this problem. To reproduce, simple instal 9.0.47, follow
the steps by Daryl, and voila, a browser crash.

In short, make an swf, with document class Circle

then load in your main swf, with the following code in the onComplete
handler;

private function onComplete(e:Event) {
var appDomain:ApplicationDomain = e.target.applicationDomain;

var skinClass:Class = appDomain.getDefinition
(getQualifiedClassName(e.target.loader.content)) as Class;

trace("CLASS: " + skinClass);

//var tmp:* = new skinClass();   <- uncommenting this line
crashes the browser
}


Any ideas, or other ideas to clone a displayobject?

-- 
M.A. van't Kruis
http://www.malatze.nl/
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Recommended encoding rates for FLV?

2006-11-09 Thread Meinte van&#x27;t Kruis

this has been great help to me in using ffmpeg to encode to on2 vp6;

http://sh0dan.blogspot.com/2006/09/command-line-flash-8-flv-encoding.html


On 11/9/06, Reuben Stanton <[EMAIL PROTECTED]> wrote:


Thanks, that was very helpful.

Reuben

On 04/11/2006, at 5:31 AM, Clark, Craig wrote:

> I have been using video in Flash since it was first introduced. So
> I will tell you what I know from my experience. I agree with
> Bjorn.  The website he suggests is a great resource. I will also
> point you to a website that allows you to make a side by side
> comparison of codecs and bitrates.  http://www.flashvideofaq.com/
> IMHO, the On2 Flix Flash8 encoding solution will give you the best
> quality. If you have a lot of videos,  then you will definitely
> want Sorenson Squeeze with the On2 codec plug in.
>
> For a connection speed of 1mb  I would recommend 872 kbps bit rate
> for the video and for the audio 44100Hz sampling rate and 128kbps
> bit rate. Video size 720w 480h or less.  Encode with 2pass VBR for
> progressive download or 2pass CBR for streaming.
>
> The quality of the source video will have the greatest impact on
> the quality of the output video more than codecs or bitrates. So
> focus on that as much as you can.
>
> Cheers,
>
> Craig Clark

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Chopping an FLV

2006-11-07 Thread Meinte van&#x27;t Kruis

that's odd, it works for me. I did install the on2 vp6 codec tho, perhaps
the video you're trying to cut is encoded with that codec, which would
explain the audio working but video not working.

for the codec, search for 'vp6 vfw codec 6.2 -pack'. It used to be
distributed by on2, but not anymore, not sure if its legal or not.


Meinte

On 11/6/06, Adrian Lynch <[EMAIL PROTECTED]> wrote:


Thanks for that. I'm having a play about with it.

I can't get it to work with the following:

C:\flvtool2_1.0.5_rc6>flvtool2 -C -i 1 -o 2 Test.flv
Test1_2.flv

It produces the new shortened FLV but it only has sound, no video.

Any ideas?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Meinte
van't Kruis
Sent: 06 November 2006 13:34
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Chopping an FLV


i'm using flvtool to auto-cut movies for me, its beta, but it works.

Meinte

On 11/6/06, Adrian Lynch <[EMAIL PROTECTED]> wrote:
>
> Hey all,
>
> I am trying to extract a small section of a larger flv file and was
> wondering the best way to do it. I thought that importing to a movie,
> expanding the timeline and cutting the frames out would work but alas
no.
>
> Any pointers or ideas.
>
> Cheers.
>
> Adrian
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Chopping an FLV

2006-11-06 Thread Meinte van&#x27;t Kruis

i'm using flvtool to auto-cut movies for me, its beta, but it works.

Meinte

On 11/6/06, Adrian Lynch <[EMAIL PROTECTED]> wrote:


Hey all,

I am trying to extract a small section of a larger flv file and was
wondering the best way to do it. I thought that importing to a movie,
expanding the timeline and cutting the frames out would work but alas no.

Any pointers or ideas.

Cheers.

Adrian

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] AS 3 - lockroot

2006-11-02 Thread Meinte van&#x27;t Kruis

since there's no root in as3, i wouldnt know what lockroot is supposed to
do, what are you trying to accomplish?

Meinte

On 11/1/06, Dave Geurts <[EMAIL PROTECTED]> wrote:


Does anybody know anything about implementing something similar as
lockroot for as3.  The only thing I have found in my searches is in the
migration guide it says lockroot has been removed.

   Thanks!


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Useful Ascii codes:

2006-11-02 Thread Meinte van&#x27;t Kruis

lol..
well, still nice of you tho :)

On 11/1/06, eric dolecki <[EMAIL PROTECTED]> wrote:


Oh man... i wish i had seen that... thanks for the link!

On 11/1/06, Michael Stuhr <[EMAIL PROTECTED]> wrote:
>
> eric dolecki schrieb:
> > I never wanna do this again, and you probably don't either, so here
are
> some
> > constants to make using ascii values of character codes more
legible...
> >
> > - e.
> >
> > 
> > // Constants (to make logic more readible)
> > var KEY_EXCLAMATION:Number = 33;
> > var KEY_DOUBLE_QUOTE:Number = 34;
> > var KEY_POUND:Number = 35;
> > var KEY_DOLLAR:Number = 36;
> > var KEY_PERCENTAGE:Number = 37;
> > var KEY_AND:Number = 38;
> > var KEY_SINGLE_QUOTE:Number = 39;
> > var KEY_LEFT_PAREN:Number = 40;
> > var KEY_RIGHT_PAREN:Number = 41;
> > var KEY_STAR:Number = 42;
> > var KEY_PLUS:Number = 43;
> > var KEY_COMMA:Number = 44;
> > var KEY_MINUS:Number = 45;
> > var KEY_PERIOD:Number = 46;
> > var KEY_SLASH:Number = 47;
> >
> > var KEY_0:Number = 48;
> > var KEY_1:Number = 49;
> > var KEY_2:Number = 50;
> > var KEY_3:Number = 51;
> > var KEY_4:Number = 52;
> > var KEY_5:Number = 53;
> > var KEY_6:Number = 54;
> > var KEY_7:Number = 55;
> > var KEY_8:Number = 56;
> > var KEY_9:Number = 57;
> >
> > var KEY_COLON:Number = 58;
> > var KEY_SEMI_COLON:Number = 59;
> > var KEY_LESS_THAN:Number = 60;
> > var KEY_EQUAL:Number = 61;
> > var KEY_GREATER_THAN:Number = 62;
> > var KEY_QUESTION_MARK:Number = 63;
> > var KEY_AT_SYMBOL:Number = 64;
> >
> > var KEY_A:Number = 65;var KEY_a:Number = 97;
> > var KEY_B:Number = 66;var KEY_b:Number = 98;
> > var KEY_C:Number = 67;var KEY_c:Number = 99;
> > var KEY_D:Number = 68;var KEY_d:Number = 100;
> > var KEY_E:Number = 69;var KEY_e:Number = 101;
> > var KEY_F:Number = 70;var KEY_f:Number = 102;
> > var KEY_G:Number = 71;var KEY_g:Number = 103;
> > var KEY_H:Number = 72;var KEY_h:Number = 104;
> > var KEY_I:Number = 73;var KEY_i:Number = 105;
> > var KEY_J:Number = 74;var KEY_j:Number = 106;
> > var KEY_K:Number = 75;var KEY_k:Number = 107;
> > var KEY_L:Number = 76;var KEY_l:Number = 108;
> > var KEY_M:Number = 77;var KEY_m:Number = 109;
> > var KEY_N:Number = 78;var KEY_n:Number = 110;
> > var KEY_O:Number = 79;var KEY_o:Number = 111;
> > var KEY_P:Number = 80;var KEY_p:Number = 112;
> > var KEY_Q:Number = 81;var KEY_q:Number = 113;
> > var KEY_R:Number = 82;var KEY_r:Number = 114;
> > var KEY_S:Number = 83;var KEY_s:Number = 115;
> > var KEY_T:Number = 84;var KEY_t:Number = 116;
> > var KEY_U:Number = 85;var KEY_u:Number = 117;
> > var KEY_V:Number = 86; var KEY_v:Number = 118;
> > var KEY_W:Number = 87;var KEY_w:Number = 119;
> > var KEY_X:Number = 88;var KEY_x:Number = 120;
> > var KEY_Y:Number = 89;var KEY_y:Number = 121;
> > var KEY_Z:Number = 90;var KEY_z:Number = 122;
> >
> > var KEY_LEFT_BRACKET:Number = 91;
> > var KEY_BACKSLASH:Number = 92;
> > var KEY_RIGHT_BRACKET:Number = 93;
> > var KEY_CARRET:Number = 94;
> > var KEY_UNDERSCORE:Number = 95;
> > var KEY_APOS:Number = 96;
> > 
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
> ahh, reminds me of:
> http://proto.layer51.com/d.aspx?f=500
>
> micha
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Right-MouseClick

2006-09-22 Thread Meinte van&#x27;t Kruis

you cant suppress the context menu in flash, you can add items to it
tho.Might
be what you're looking for.

-Meinte

On 9/22/06, Michael Bedar <[EMAIL PROTECTED]> wrote:


Is there a reliable way to detect a r-mouse click, and at the same
time suppress the context menu? I could swear that there was a simple
way to do it, but I amy be having a DIrector flashback..no pun intended.

Thanks,
Mike

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] AS3: Objects never get deleted

2006-09-12 Thread Meinte van&#x27;t Kruis

pardon me, it seems to be described in the thread.

->

function callback(eventObject:Event):void {
removeEventListener(Event.ENTER_FRAME, callback, false);
// callback = null;
trace([this, callback]);
}
// callback.self = callback;
addEventListener(Event.ENTER_FRAME, callback, false, 0, true);
// addEventListener(Event.ENTER_FRAME, callback, false, 0, false);

<-

On 9/12/06, Meinte van't Kruis <[EMAIL PROTECTED]> wrote:


ok, thats nice to know :)

any known solutions to this?

-Meinte

On 9/12/06, Fumio Nonaka <[EMAIL PROTECTED] > wrote:
>
> The useWeakReference parameter of EventDispatcher.addEventListener()
> does not seem to work.  Also, the method has a bug, which is that the
> event listner function cannot be deleted with the parameter set to true.
>
> Flash 9 ActionScript 3.0 Preview:
> "Does useWeakReference parameter of addEventListener() method work?"
> 
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=612&threadid=1186643&enterthread=y
>
> _
> Meinte van't Kruis wrote:
> > I am using weak references for the listener, here's the code (within
> > GCTarget):
> >
> >this.addEventListener(Event.ENTER_FRAME,onFrame,false,0,true);
>
> >}
> >private function onFrame(e:Event):void{
> >trace("A");
> >}
> >
> > So I don't think that's it, else it wouldn't really matter if I pass
> > arguments or set variables
> > or not , because if I don't it does get deleted properly.
>
> Good luck,
> --
> Fumio Nonaka
> mailto:[EMAIL PROTECTED]
> http://www.FumioNonaka.com/
> My books<http://www.FumioNonaka.com/Books/index.html>
> Flash community<http://F-site.org/ >
>
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] AS3: Objects never get deleted

2006-09-12 Thread Meinte van&#x27;t Kruis

ok, thats nice to know :)

any known solutions to this?

-Meinte

On 9/12/06, Fumio Nonaka <[EMAIL PROTECTED]> wrote:


The useWeakReference parameter of EventDispatcher.addEventListener()
does not seem to work.  Also, the method has a bug, which is that the
event listner function cannot be deleted with the parameter set to true.

Flash 9 ActionScript 3.0 Preview:
"Does useWeakReference parameter of addEventListener() method work?"

http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=612&threadid=1186643&enterthread=y
_
Meinte van't Kruis wrote:
> I am using weak references for the listener, here's the code (within
> GCTarget):
>
>this.addEventListener(Event.ENTER_FRAME
,onFrame,false,0,true);
>}
>private function onFrame(e:Event):void{
>trace("A");
>}
>
> So I don't think that's it, else it wouldn't really matter if I pass
> arguments or set variables
> or not , because if I don't it does get deleted properly.

Good luck,
--
Fumio Nonaka
mailto:[EMAIL PROTECTED]
http://www.FumioNonaka.com/
My books<http://www.FumioNonaka.com/Books/index.html>
Flash community<http://F-site.org/>

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] AS3: Objects never get deleted

2006-09-11 Thread Meinte van&#x27;t Kruis

nevermind bout the onCapture bit, probably bubbles the event
instead of firing the local onFrame function..

On 9/12/06, Meinte van't Kruis <[EMAIL PROTECTED]> wrote:


it DOES however get deleted when setting the useCapture flag to true;

this.addEventListener(Event.ENTER_FRAME,onFrame,true,0,true);


Isn't this weird?
Why would this be?

-Meinte


On 9/12/06, Meinte van't Kruis <[EMAIL PROTECTED]> wrote:
>
> thanks for replying,
>
> I am using weak references for the listener, here's the code (within
> GCTarget):
>
> this.addEventListener(Event.ENTER_FRAME
> ,onFrame,false,0,true);
> }
> private function onFrame(e:Event):void{
> trace("A");
> }
>
> So I don't think that's it, else it wouldn't really matter if I pass
> arguments or set variables
> or not , because if I don't it does get deleted properly.
>
> -Meinte
>
>
> On 9/12/06, Ian Thomas < [EMAIL PROTECTED]> wrote:
> >
> > On 9/11/06, Meinte van't Kruis <[EMAIL PROTECTED]> wrote:
> > > GCTarget only listens to an enterframe event and traces something so
> > I know
> > > wether it's still alive or not.
> >
> > So you're saying you've passed GCTarget as a target of a listener? Did
> > you use weak references? Because if not, there's your problem right
> > there...
> >
> > Ian
> > ___
> > Flashcoders@chattyfig.figleaf.com
> > To change your subscription options or search the archive:
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> > Brought to you by Fig Leaf Software
> > Premier Authorized Adobe Consulting and Training
> > http://www.figleaf.com
> > http://training.figleaf.com
> >
>
>


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] AS3: Objects never get deleted

2006-09-11 Thread Meinte van&#x27;t Kruis

it DOES however get deleted when setting the useCapture flag to true;

this.addEventListener(Event.ENTER_FRAME,onFrame,true,0,true);


Isn't this weird?
Why would this be?

-Meinte

On 9/12/06, Meinte van't Kruis <[EMAIL PROTECTED]> wrote:


thanks for replying,

I am using weak references for the listener, here's the code (within
GCTarget):

this.addEventListener(Event.ENTER_FRAME,onFrame,false,0,true);
}
private function onFrame(e:Event):void{
trace("A");
}

So I don't think that's it, else it wouldn't really matter if I pass
arguments or set variables
or not , because if I don't it does get deleted properly.

-Meinte


On 9/12/06, Ian Thomas <[EMAIL PROTECTED]> wrote:
>
> On 9/11/06, Meinte van't Kruis <[EMAIL PROTECTED]> wrote:
> > GCTarget only listens to an enterframe event and traces something so I
> know
> > wether it's still alive or not.
>
> So you're saying you've passed GCTarget as a target of a listener? Did
> you use weak references? Because if not, there's your problem right
> there...
>
> Ian
> ___
> Flashcoders@chattyfig.figleaf.com
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] AS3: Objects never get deleted

2006-09-11 Thread Meinte van&#x27;t Kruis

thanks for replying,

I am using weak references for the listener, here's the code (within
GCTarget):

   this.addEventListener(Event.ENTER_FRAME,onFrame,false,0,true);
   }
   private function onFrame(e:Event):void{
   trace("A");
   }

So I don't think that's it, else it wouldn't really matter if I pass
arguments or set variables
or not , because if I don't it does get deleted properly.

-Meinte

On 9/12/06, Ian Thomas <[EMAIL PROTECTED]> wrote:


On 9/11/06, Meinte van't Kruis <[EMAIL PROTECTED]> wrote:
> GCTarget only listens to an enterframe event and traces something so I
know
> wether it's still alive or not.

So you're saying you've passed GCTarget as a target of a listener? Did
you use weak references? Because if not, there's your problem right
there...

Ian
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Re: AS3: Objects never get deleted

2006-09-11 Thread Meinte van&#x27;t Kruis

done some more testing. If I don't use a constructor and just do this;

   var b:GCTarget=new GCTarget();
   b.x=0;
   b.y=0;
   b=null;

it never gets deleted as well..

On 9/12/06, Meinte van't Kruis <[EMAIL PROTECTED]> wrote:


Hi Folks,

I've read up on grant skinners' articles about the garbage collector and
how the new memory
management gets done in as3. I've build some test cases to see how the new
virtual machine
handles stuff, and came upon some weirdness.

I have two classes, GCTester and GCTarget.

GCTester instantiates GCTarget, throws its reference away immediatly and
forces the gc to kick in (gskinner's localconnection trick):

var b:GCTarget=new GCTarget(0,0);
b=null;
try {
   new LocalConnection().connect('foo');
   new LocalConnection().connect('foo');
} catch (e:*) {trace("err");}

GCTarget only listens to an enterframe event and traces something so I
know wether it's still alive or not.

Now the weird situation;

When GCTarget has NO attributes to be passed to its constructor,
everything works fine. It instantiates and
gets thrown away immediatly, the gc kicks in, and not even a single trace
shows up, (if I don't use the localconnection
trick, it does trace, for obvious reasons).

When the GCTarget gets two variables (see above example, (0,0)) passed to
its constructor. And sets its .x and .y to these values, the trace
goes on infinitely, even when I force the gc mutltiple times.. So it never
gets garbage collected, or so it seems :(.

What's going on?

thx,

Meinte


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] AS3: Objects never get deleted

2006-09-11 Thread Meinte van&#x27;t Kruis

Hi Folks,

I've read up on grant skinners' articles about the garbage collector and how
the new memory
management gets done in as3. I've build some test cases to see how the new
virtual machine
handles stuff, and came upon some weirdness.

I have two classes, GCTester and GCTarget.

GCTester instantiates GCTarget, throws its reference away immediatly and
forces the gc to kick in (gskinner's localconnection trick):

   var b:GCTarget=new GCTarget(0,0);
   b=null;
   try {
  new LocalConnection().connect('foo');
  new LocalConnection().connect('foo');
   } catch (e:*) {trace("err");}

GCTarget only listens to an enterframe event and traces something so I know
wether it's still alive or not.

Now the weird situation;

When GCTarget has NO attributes to be passed to its constructor, everything
works fine. It instantiates and
gets thrown away immediatly, the gc kicks in, and not even a single trace
shows up, (if I don't use the localconnection
trick, it does trace, for obvious reasons).

When the GCTarget gets two variables (see above example, (0,0)) passed to
its constructor. And sets its .x and .y to these values, the trace
goes on infinitely, even when I force the gc mutltiple times.. So it never
gets garbage collected, or so it seems :(.

What's going on?

thx,

Meinte
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] classes vs external .as files

2006-09-11 Thread Meinte van&#x27;t Kruis

it's more of a taste thing i guess, and this question kinda revolves around
'oop vs procedural' etc.
These discussions have been 'waged' alot of times, and often result in
language religion wars ;)

Personally, if code is readable and makes sense,  it's allright by me.

Meinte

On 9/11/06, Adrian Ionut Beschea <[EMAIL PROTECTED]> wrote:


Hello,

I've just had a debate with a colleague of mine about the some of the as
2.0 best practice.
We both like to separate design from code, but we have slightly different
ways of doing it.

This is what he does :
He leaves design elements on stage and includes and external .as file to
handle the logic.
#include 'script.as'

I like to think in terms of oop.
So instead of including a script, I write something use:
SampleClass.main(this)

main is something like this :
public static function main(target_mc:MovieClip) {
instance = new SampleClass(target_mc);
}

What do you guys think ? Which method is more of your taste and why ?









-
How low will we go? Check out Yahoo! Messenger's low  PC-to-Phone call
rates.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Memory Leak

2006-09-07 Thread Meinte van&#x27;t Kruis

you should read gskinners' reasearch on this, it's a 3 part story, pretty
interesting.

http://www.gskinner.com/blog/archives/2006/06/as3_resource_ma.html

part 3 describes a way to force the gc to actually execute, for testing
purposes.

-Meinte

On 9/6/06, Michael Trim <[EMAIL PROTECTED]> wrote:


Can anybody point me in the direction of any more information on this
particular bug?

http://chattyfig.figleaf.com/pipermail/flashcoders/2006-March/161995.htm
l

We have implemented a solution that minimizes/maximizes to restore GC
but I would like to have a bit more info on why this is happening?

Is this still the case in FP9?

Thanks,

Michael
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] as 3 help

2006-09-06 Thread Meinte van&#x27;t Kruis

use the displayObjects' function AddEventListener, like this:

this.addEventListener(Event.ENTER_FRAME,enterFrame);

and then have function

function enterFrame(e:Event){
}

dont forgot the e:Event parameter in enterFrame, it will cause an error if
you don't
include that. Also, read the API ref, it's over here:

http://livedocs.macromedia.com/flex/2/langref/index.html

good luck,

Meinte

On 9/6/06, dan <[EMAIL PROTECTED]> wrote:


Is in as 2i use'd OnEnterFrame what do I use in as3? Is it some event with
the new event dispatcher?
10x


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Re: OOP methodology and flash. I'm loosing my faith...

2006-08-31 Thread Meinte van&#x27;t Kruis

I'm not sure prototyping can be done in as 3.0 since it does introduce
sealed classes and such and is pretty strict oop as far as i can tell. But
perhaps I've overlooked something, it would definetely be a nice thing,
I like prototyping as well.

-Meinte

On 8/30/06, Kevin Newman <[EMAIL PROTECTED]> wrote:


I really like OOP, like Javascript style prototyping and look forward to
use a combination of both in AS3. Having said that, I really was not
impressed with AS2.0, mostly because of some of it's bugs that made it
work in odd ways (mostly related to scoping issues, which are only
partially solved with the Delegate Class).

So for me I usually prefer either AS1.0, or (I imagine, since I haven't
gotten around to it yet) AS 3.0.

It's nice not to be locked into either OOP, or procedural, or typed or
untyped. It seems like AS 3.0 will let me do the one I want to at the
moment (without being buggy like AS 2.0). :-)

Kevin N.



James wrote:
> I think that the mixture of prototype based and class based OOP is
> really interesting. I think prototype based object orientated
> languages (such as AS1.0 and JavaScript) are really pretty cool and
> you can do amazing things with them.
>
> I read somewhere (sorry can't find link but it was on sitepoint.com
> written by Harry Fuecks)  that one of the leading technical directors
> at google had produced a patterns book with most of the important
> patterns completely rewritten for prototype OO languages and many of
> them were far simpler and much less code.
>
> of course there is always the trade off with any dynamic language -
> the less errors can be caught at 'compile time' the more you have to
> test the code using 'unit testing' at run time.
>
> I take any comments like 'AS2 is crap' or 'PHP is crap' or whatever
> with a huge pinch of salt. Ask them 'Do you think people at
> Macromedia/Adobe don't know what they're doing?' usually these people
> have a computer science degree from Wolverhampton Poly or somesuch and
> couldn't get a job at Adobe or Macromedia if they promised to work for
> nothing and give foot massages to all the other developers whilst
> compiling.
>
> James
>
> At 15:12 25/08/2006, you wrote:
>> When it comes to OOP and Flash I think an individuals opinion comes
from
>> their knowledge of OOP. Those that have used it swear by it and vice
>> versa.
>> This is pretty much how it is with everything. I remember at the
>> release of
>> AS2 there were quite a few developers that I had interactions with
>> that were
>> saying that AS2 was crap and not to use it. I wonder how well that
>> worked
>> out for them :)
>>
>> - darren


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] OOP methodology and flash. I'm loosing my faith...

2006-08-25 Thread Meinte van&#x27;t Kruis

aaah ok, so polymorphism isnt multiple inheritance, well ok, got
it wrong all this time, lol.

thanks for the enlightenment :)

On 8/25/06, James <[EMAIL PROTECTED]> wrote:




in polymorphism using the previous example you could have a cat object
with
a 'make noise' method that prints 'meow' and a dog object that has a make
noise method that prints 'woof woof' - yes this is the same example as in
wikipedia!

what makes it polymorphism is that you use the same handler name, your
code
driving the object says 'make noise' and depending on which animal object
you have, you get a different response. This is polymorphism, it isn't
Multiple Inheritance

an example of multiple inheritence would be Spock from star trek

Spock is a human

and

Spock is a vulcan

in C++ you can have multiple inheritence and so you can satisfy both
conditions. but it causes billions of confusing problems, not least of
which being the diamond problem

http://www.javaworld.com/jw-12-1998/jw-12-techniques.html


indeed you are correct because Java's interface type is designed to
overcome the problem of multiple inheritence. so with java and AS2 you can
have Spock be a vulcan when you need so cold hard rationalism, and have
Spock be a human when you need him to give you a hug.

James


At 14:14 25/08/2006, you wrote:
>well, I get Interfaces, but thanks for explaining :).
>
>I just don't think actionscript, or java, has any polymorphism,
>since the definition of that is, in my opinion, a class having more
>than one parent class (ie, can extend 2 or more classes), which
>isn't the case. So I don't understand why people who are explaining
>oop in actionscript talk about polymorphism, because it just
>isn't there :), but perhaps I'm wrong.
>
>cheers,
>-Meinte
>
>On 8/25/06, James <[EMAIL PROTECTED]> wrote:
>>
>>they are different, as far as I know
>>
>>an interface, as in 'Interface' type does not itself have an
>>implementation, whereas a subclass which displays polymorphism does, the
>>difference comes from your design needs, for example:
>>
>>(polymorphism)
>>class animal - can be a implemented class with it's own methods
>>class dog - is a subclass of animal which alters/extends animal
>>class cat - is a subclass of animal which alters/extands animal in a
>>different way to dog
>>
>>so in certain circumstances you may only need to instance and call
methods
>>in 'animal', when you don't care what it is but just need an animal
type.
>>
>>with Interfaces the 'interface' type is not a implemented object, it
does
>>not have it's own implemented methods
>>
>>so an example might be if you owned a sports shop that sold coats and
>>bicycles, coat and bicycle are not the same type but if you get them to
>>use
>>the 'stock control item' interface they are both 'stock control item'
>>objects if you need them to be, providing you follow the rules for that
>>particular interface you can make any object a 'stock control item' but
>>there is no generic 'stock control item' type.
>>
>>see it is different. you have to see things 'arse-ways-backwards'
>>sometimes
>>- at first I did not understand the point of interfaces, since the
objects
>>implementing them have to implement the actual working methods anyway
but
>>OOP is about creating a long-term collection of reusable objects which
may
>>be used by teams of coders, structures like interfaces make for a clean
>>and
>>clear architecture that other coders can quikly understand, and give a
>>well
>>defined way to extend a system.
>>
>>James
>>
>>
>>At 12:23 25/08/2006, you wrote:
>> >going a bit offtopic here, but isnt polymorphism a non-issue in both
>>flash
>> >and java? People talk about like there can be such a thing in these
>> >languages,
>> >which isn't really true. It seems a bit silly to call something
>>polymorphism
>> >just because its implementing some interfaces.
>> >
>> >oh well, that probably didn't make any sense i suppose,
>> >im not getting any decent sleep lately :)
>> >
>> >greets,
>> >Meinte
>> >
>> >On 8/25/06, Ricardo Sánchez <[EMAIL PROTECTED]> wrote:
>> >>
>> >>Ok, I see its not so easy for everyone. Can anyone point out some
>> >>tutorial-like examples on internet or books. I know a lot of theory
>> >>(inheritance, polymorphism...) but I would like to see more
applications
>> >>for
>> >>it so I can be more confident when I use it.
>> >>
>> >>
>> >>
>> >>On 8/24/06, slangeberg <[EMAIL PROTECTED]> wrote:
>> >> >
>> >> > My main motivation for this stuff in Flash is so that my code
>>actually
>> >> > gets
>> >> > checked by the compiler, vs. Flash's crappy built-in code-checking
>>for
>> >>the
>> >> > stage. That is, it will tell me if I've mis-spelled something,
>>created
>> >> > duplicate variables, the list goes on...
>> >> >
>> >> > In addition, I write my classes in FlashDevelop, which gives you
code
>> >> > completion. Which means when I start to type:
>> >> >
>> >> > > import mx.
>> >> >
>> >> > I get a listing of all packages that Macromedia's written, instead
of
>> >> > 

  1   2   >