Wednesday, August 01, 2007

ActionScriptBridge

Folks.. Good news to Actionscript developer.Here after we can communicate from AS2.0 into AS3.0 as well as AS3.0 into AS2.0 Using ASB(ActionScriptBridge).

Here is how jumpeye describes the ASB:

With the launch of the new Flash CS3 and ActionScript 3.0, Adobe created a gap, in terms of compatibility, between applications created using ActionScript 2.0 and ActionScript 3.0. This means that a Flash clip created using ActionScript 3.0 can load and play a clip created using ActionScript 2.0, but it will not have access to anything (variables, functions, objects) inside the AS2 clip.

ActionScriptBridge is a project that aims to fill the gap between AS2 and AS3. It gives the possibility for two Flash movies, one created using AS2 and the other using AS3, to communicate with one another (at least regarding function calls). This means that the AS3 clip will be able to call functions found in the AS2 clip loaded in it, and the AS2 clip will be able to call functions found in its’ parent, the AS3 clip. All this, by using two components: ASBContainer, for Flash CS3 and AS3, and ASBTerminal, for Flash MX 2004 or later and AS2.

You can see demo below.