# Load swf without jumping to browser, Help?

**URL:** https://forum.kirupa.com/t/load-swf-without-jumping-to-browser-help/274084
**Category:** flash
**Created:** [October 24, 2008, 4:40pm UTC](https://forum.kirupa.com/t/load-swf-without-jumping-to-browser-help/274084 "2008-10-24T16:40:25Z")
**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 24, 2008, 4:40pm UTC](https://forum.kirupa.com/t/load-swf-without-jumping-to-browser-help/274084/1 "2008-10-24T16:40:25Z")

</div>

Okay I have a movie that loads another swf within:

[COLOR=“Green”]var ArchSkipLoader:Loader = new Loader();  
ArchSkipLoader.load(new URLRequest(“arch\_const.swf”));  
addChild(ArchSkipLoader);

stop();[/COLOR]

Now I need to upon a mouse event to return to the previous (main) swf. Below is the code I am working with yet error error error…

[COLOR=“Green”]btnBack.addEventListener(MouseEvent.CLICK, BackLink);  
function BackLink(event:MouseEvent):void  
{  
var Backer:Loader = new Loader();  
Backer.Loader.load(“main.swf”);  
govplayer.stop();  
removeChild(ArchSkipLoader);  
addChild(Backer);  
}[/COLOR]

It seems to me that the original swf (main.swf) is being removed as the new swf (arch\_const.swf) is being loaded, yet I’m okay with being wrong if this gets solved…

I have it working when using a URLRequest, yet I dont want to jump to a browser. I would like it all within the player, and or same movie…

Any hekp as always is greatly appreciated…  
Thanks…
