:bu: Greetings .
AS 3.0 and I have been fighting a lot lately. I believe I am having a hard time visualizing how everything fits together in this version of Flash…
I’m attempting to communicate with an external SWF from the main timeline. My goal is to eventually set up a simple navigation scheme that loads external movies ( with in & out transitioning ) .
At this point I’m just trying to make the playback head go to a specific frame label in my loaded movie when button1 is clicked.
I am posting my code below. This is obviously kicking out an error. Any help would be greatly appreciated.
var request:URLRequest = new URLRequest("movie1.swf");
var loader:Loader = new Loader();
loader.load(request);
loaderMC.addChild(loader);
function clickButton(event:MouseEvent):void {
loaderMC.loader.gotoAndPlay("outro");
}
button1.addEventListener(MouseEvent.CLICK, clickButton);