views:

1690

answers:

3

Are threads possible in Flash, Actionscript and Flex just like in C# and Java?

+1  A: 

Not at the present. You can use pseudo-threads if you want to. http://blogs.adobe.com/aharui/2008/01/threads_in_actionscript_3.html

Aupajo
A: 

Alas, there's no multithreading in Actionscript. However, you can fake it with pseudothreads (see link for more details), although this has its own problems.

John Feminella
+5  A: 

I'm working on a project that will use Pixel Bender to do computations on a separate thread. I will hopefully have something to blog soon. In the mean time please go vote for this feature request: https://bugs.adobe.com/jira/browse/ASC-3222

James Ward
Good to see you hang out here as well James. Lot's of Flash/Flex/Actionscript stuff going on here at SO.
Luke
As a follow-up to this... I've posted my Pixel Bender library (called pbjAS) and some demos:http://www.jamesward.com/blog/2009/04/29/announcing-pbjas-an-actionscript-3-pixel-bender-shader-library/-James
James Ward