views:

17

answers:

1

As flashplayer has only one thread and is event driven, big tasks have to be divided to smaller tasks so that the application stays responsive. For now I've done this with the Timer by doing a small part of work in every TIMER event. Is there a better way of doing this (some library maybe)? What is your recommendation?

A: 

There is one article about pseudo threading which can be interesting: http://blogs.adobe.com/aharui/2008/01/threads_in_actionscript_3.html. Second you can take a look on PixelBender to see if it can help you. Check this link: http://www.jamesward.com/2009/04/29/announcing-pbjas-an-actionscript-3-pixel-bender-shader-library/

Cornel Creanga