# Please help with back "return" button!

**URL:** https://forum.kirupa.com/t/please-help-with-back-return-button/273939
**Category:** flash
**Created:** [October 22, 2008, 7:55pm UTC](https://forum.kirupa.com/t/please-help-with-back-return-button/273939 "2008-10-22T19:55:08Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![wuzzi2ya](https://avatars.discourse-cdn.com/v4/letter/w/e79b87/32.png) [@wuzzi2ya](https://forum.kirupa.com/u/wuzzi2ya)
#### Post date: [October 22, 2008, 7:55pm UTC](https://forum.kirupa.com/t/please-help-with-back-return-button/273939/1 "2008-10-22T19:55:08Z")

</div>

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!”);  
}  
}
