I want to view all of the frames from within a MovieClip concurrently on the stage, however I am struggling to extract the individual frame information from the MovieClip.
I have managed to load an external SWF into a MovieClip and view the frames sequentially with the following code:
<mx:HBox id="hbox"></mx:HBox>
<mx:Script>
<![CDATA[
import mx.controls.SWFLoader;
public var loader:SWFLoader = new SWFLoader();
public var myMovieClip:MovieClip = new MovieClip();
public function init():void {
loader.addEventListener(Event.COMPLETE, handleLoaded);
loader.load('assets/test_document.swf');
}
public function handleLoaded(e:Event):void {
var myMovieClip:MovieClip = e.currentTarget.content as MovieClip;
myMovieClip.stop();
hbox.addChild(loader);
}
]]>
</mx:Script>
What is the most efficient way to view ALL of the frames on the screen?
Thanks in advance.