Question
Going to a loaded frame in a loaded swf
I've been successful to load a external swf using the loader.
Lesson_mc is a movieclip I have on stage that I am loading the
external swf. I have some masking that is there, that is why the
movieclip. myLoader is a Load object. I can find the swf loaded
using the debugger and see the currentLabel and Frame but when I
try to get the information it sends a DisplayObject error. I have a
Menu in the Main Window that controld the navigation. Getting to
the frame on the first click works but trying to go to a frame
within the same sef does not. Any thoughts?
myRequest = new URLRequest("overview09.swf");
myLoader = new Loader();
myLoader.load(myRequest);
addChild(myLoader);
myLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, LessonLoad);
function LessonLoad(evt:Event):void{
trace("Lesson Loaded = ");
Lesson_mc.addChild(myLoader);
}//end function
myRequest = new URLRequest("overview09.swf");
myLoader = new Loader();
myLoader.load(myRequest);
addChild(myLoader);
myLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, LessonLoad);
function LessonLoad(evt:Event):void{
trace("Lesson Loaded = ");
Lesson_mc.addChild(myLoader);
}//end function