Hey Guys,
I have an index.swf file that loads external .swf files into the page through its UILoader with the instance name “sectionLoader” Once I load a new swf into the index.swf --> “business.swf” I’m having trouble linking to new files on the child swf file. Is there a way to link to new pages from a child so that it can reload the new swfs into the UILoader of the Parent index.swf.
Here is my code for the button in the child .swf file.
readmore_btn.addEventListener(MouseEvent.CLICK, stage.getChildAt(0).businessClick);
function businessClick(e:MouseEvent):void{
trace("businessClick");
sectionLoader.source = "business.swf";
}
I know there has to be an easy way to be able to link back into the main index file. Any help is much appreciated! I’ve been stuck on this for hours! Thanks!
-Stephen