background preloader

Flex

Facebook Twitter

CASA Lib: An Open Source Code Library for ActionScript 2.0 & 3.0. Flex 4 Spark Resizable Controls. Fpa2 - Persistence API interface for Flex. UML for ActionScript and Flex - Download. ActionScript® Toolbox.

Testing / Unit test

Examples. Styling / Skining. Outils. Composants. MultiThread / Green Threads. This is a small framework I wrote that addresses some of the issues associated with ActionScript being executed linearly in one thread. If the language offered an API for threading, computationally expensive routines could be run in a separate thread, keeping the application’s UI appropriately responsive.

The idea is to offer a simple means to decompose: deep recursion large loops computationally expensive tasks I’ve created 2 demos (FP10) to illustrate the issue. The first demo is an implementation of the A* algorithm. If you select to execute the path-finding normally, you’ll notice the Flex UI becomes unresponsive; if you’re lucky, you might even get the spinning beach ball of death.

But when you run the algorithm in a green thread, the application UI remains responsive. The second demo encodes 3 images. A thread’s chief responsibility, aside from running its processes, is to maintain frame rate. The source is pretty well commented and should be easy to implement! Path-finding demo. Flex programming.

Performance / Optimisation / Conventions

Libs. Docs. Flex 4. PhoneGap. Framework. Blogs / Sites. ActionScript 3.0 Design Patterns. Php.