I’m looking to be able to run some actionscript 3 in the background to handle some audio and build a javascript front-end. I heard that you can simply compile actionscript 3 and run it using the flex framework, but I’m new to all of this and am not really sure the difference between flex and actionscript. Any help would be greatly appreciated!
Thanks!
Matt Mueller
Flex is a framework for developing data-driven flash SWFs. It lets you create gui using the markup language
mxml(similar to html, but with a strict syntax) and has a lot of inbuilt UI components likeButton,Panel,ComboBox,Datagridetc.The flex compiler,
mxmlc.exe, can compile both flex projects and normal actionscript projects (that doesn’t use any flex components).If you are looking for just the audio functionalities of Flash, you need not use Flex, pure AS3 would suffice. Download the Flex SDK and compile the ClassName.as file using the
mxmlc.exe