I have a project that is going to be a projector on a cd rom. There is an initial movie with a menu of items. Once one item is selected it is directed to another swf. After or during playback of this swf I need the option of a back button, which will revert back to the original swf. Possible? What is the syntax for such a feat?
Here is the code for jumping to the 2nd swf (ex1.1), yet if I want to return using request url (ex 1.2) or call the swf directly it opens a new window. Since this will be a projector that is not an option. Any help is greatly appreciated, so thanks…
(ex 1.1)
btnArch.addEventListener(MouseEvent.MOUSE_UP, onClick);
function onClick(evt:MouseEvent):void {
this.parent.gotoAndPlay(“ArchSkip”);
}
(ex 1.2)
btnBack.addEventListener(MouseEvent.CLICK, Link2);
function Link2(event:MouseEvent):void {
var url:String = “main.swf”;
var request:URLRequest = new URLRequest(url);
try {
navigateToURL(request, “_self”);
} catch (e:Error) {
trace(“Error occurred!”);
}
}