00:00
107
A simple demo to demonstrate the value of concurrency in ActionScript projects.
The first example is single threaded and the computation is happening in the UI thread. As a result, the UI is impacted and the application is no longer responsive.
In the second example. workers are leveraged to offload the computations to different threads. The UI stays perfectly smooth and responsive. For maximum efficiency, shared memory is used to communicate between the workers.
ActionScript Workers will be introduced in a future release of Flash Player and AIR.