Hi.
I have an ActionScript project with several classes that i compiled as an swf using Adobe Flex (by creating an actionscript project and clicking on export -> release build)
Is there a way to load that swf so i'll be able to load it's classes and use them on a different swf ?
i know i can use the following code to load an swf file: var loader:Loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onLoaded);
loader.load(new URLRequest("game.swf"));
addChild(loader);
(from http://stackoverflow.com/questions/1007803/loading-a-swf-into-an-actionscript-3-project-flex-builder) but how can i actually create an instance of the classes i have in that swf ?
thanks!