so I have a lot of classes in actionscript 2. But I need to modify my application to use the soundchannel object for audio monitoring. as far as i know this is only in actionscript 3. so it it possible to write one class in AS3 and leave the rest in AS2?
if not is there a conversion tool which can make the process easier?
The language the ActionScriptBridge site uses is sort of misleading: “Use flash AS2.0 flash components in AS3.0 projects.” And then tells you how it works: “Technically: Load Macromedia/Adobe Flash AS2.0 projects (swf) inside Adobe Flash AS3.0 projects using ASB and communicate between them.”.
You’d have to compile two separate swfs in the ActionScriptBridge case. One for AVM1 bytecode (as2) and one for AVM2 (as3). You can also use LocalConnection to communicate between two swfs that are different AVMs. There is no way to compile 2 & 3 together (unless maybe you wrote your own compiler ;))
Here’s a nice post on Senocular explaining the LocalConnection and the AVM: http://www.kirupa.com/forum/showthread.php?p=1964550. The key here being