-
Please help me (Time line navigation)
ActionScript 3
Hello, I'm new to the forum and in real need for some help (been working on this forever).
Okay So I have a main Flash File, on frame 4 I have and empty MovieClip where I have loaded an external swf file. This works perfectly. I've used the following code...
import flash.display.Loader;
import flash.net.URLRequest;
import flash.display.MovieClip;
import flash.events.MouseEvent;
var swf:MovieClip;
var loader:Loader = new Loader();
var MazeGame:URLRequest = new URLRequest("swf/MazeGame.swf");
loader.load(MazeGame);
loadmaze.addChild(loader);
.
At the end of the movieclip which I have loaded externally I have a button which I want to navigate the user back onto the main timeline of the original file.
This is the code for the button currently.
race.addEventListener( MouseEvent.MOUSE_UP, raceStart );
//Function for when button is pressed.
function raceStart(e:Event):void{
frame("../") {
play();
}
Could anyone help me please the gotoandstop function isnt working for me.
Thank you all
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|