Workers extension presentation on YouTube.

Workers adds concurrency in flash, but they are hard to use and maintain. I solve this problem with mvcExpress v2 framework extension for workers!
mvcExpress worker extension will let you create background workers with one line of code, automatically set up communication between them for you to use, and it will automatically register your class aliases for your custom objects to be typed then sending between workers.

Example project ZIP download: http://goo.gl/a4yY5J

Framework homepage: http://mvcexpress.org/

GitHub: https://github.com/MindScriptAct/mvcExpress-framework

2 thoughts on “Workers extension presentation on YouTube.”

    1. Hi,

      For mobile platforms, concurrency is supported in AIR on Android but not in AIR on iOS. (http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/system/Worker.html)

      In any case – you should have a fall back plan if for whatever reasons workers are not supported. (have a loader ready.. or implement fake threading.)

      I have use case there i travel the dungeon and new dungeon areas are randomly generated in background, if workers are not supported – dungeon is still generated, but work gets limited CPU time(more or less depending on fps.). If player has to enter area that is not generated – application pauses, loader is shown, and generation work gets 100% of CPU time.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>