# Navigating a loaded swf

**URL:** https://forum.kirupa.com/t/navigating-a-loaded-swf/264863
**Category:** Uncategorized
**Created:** [July 1, 2008, 11:31am UTC](https://forum.kirupa.com/t/navigating-a-loaded-swf/264863 "2008-07-01T11:31:44Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Alber\_Kidd](https://avatars.discourse-cdn.com/v4/letter/a/e47c2d/32.png) [@Alber\_Kidd](https://forum.kirupa.com/u/Alber_Kidd)
#### Post date: [July 1, 2008, 11:31am UTC](https://forum.kirupa.com/t/navigating-a-loaded-swf/264863/1 "2008-07-01T11:31:44Z")

</div>

Hi,

I am loading a swf in the main timeline and I need to know how to navigate to frame 20 of the swf.

this is what I have so far.

var myLoader1:Loader = new Loader();  
stage.addChildAt(myLoader1, 0);  
myLoader1.x=0;  
myLoader1.y=15;

var myRequest1:URLRequest = new URLRequest(“mymovie.swf”);  
myLoader1.load(myRequest1);

---

<div class="post-metadata">

### Author: ![Iamthejuggler](https://avatars.discourse-cdn.com/v4/letter/i/ecc23a/32.png) [@Iamthejuggler](https://forum.kirupa.com/u/Iamthejuggler)
#### Post date: [July 1, 2008, 12:04pm UTC](https://forum.kirupa.com/t/navigating-a-loaded-swf/264863/2 "2008-07-01T12:04:38Z")

</div>

var myLoader1:Loader = new Loader();  
myLoader1.contentLoaderInfo.addEventListener(Event.COMPLETE, done);

myLoader1.x=0;  
myLoader1.y=15;

var myRequest1:URLRequest = new URLRequest(“temp.swf”);

myLoader1.load(myRequest1);  
function done(e:Event):void{  
var \_content:MovieClip = MovieClip(myLoader1.content);  
stage.addChild(\_content);  
\_content.gotoAndStop(20);  
}
