This is correct. There are certainly multiple threads in the flash
player. But The AVM does not allow applications to spawn threads
directly. However things like sound and video and probably other
things execute in separate threads. I am not familiar with the flash
source but it is likely that async communications is also handled by
separate threads.

Regards
Hank

On 12/3/05, Boon Chew <[EMAIL PROTECTED]> wrote:
>
>   I have read in this  forum that someone loosely coined the phrase "Flash is 
> a single thread  app", it's hard to imagine something as high performance and 
> intricate  as Flash to be a single-threaded app.
>
>   So I started to take the above statement to mean that the Actionscript  VM 
> executes all the code in a sequential fashion but that Flash player  itself 
> is multithreaded, is that a right assumption?
>
>   And what about code that are asynchronous in nature, such as sound playing 
> ( new Sound(), onSoundComplete), server-side call  return (such as LoadVars, 
> XML.onLoad)?  Are these all happening in the single thread of code execution?
>
>   Looks like a book on Flash and AVM Internal would be nice. :)
>
>   - boon
>
>
>
> ---------------------------------
>  Yahoo! Personals
>  Single? There's someone we'd like you to meet.
>  Lots of someones, actually. Try Yahoo! Personals
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to