# HELP! load external swf at a certain frame

**URL:** <https://forum.kirupa.com/t/help-load-external-swf-at-a-certain-frame/236294>\
**Category:** flash\
**Created:** [August 19, 2007, 4:09pm UTC](https://forum.kirupa.com/t/help-load-external-swf-at-a-certain-frame/236294 "2007-08-19T16:09:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bfal](https://avatars.discourse-cdn.com/v4/letter/b/ebca7d/32.png) [@bfal](https://forum.kirupa.com/u/bfal)\
**Post date:** [August 19, 2007, 4:09pm UTC](https://forum.kirupa.com/t/help-load-external-swf-at-a-certain-frame/236294/1 "2007-08-19T16:09:22Z")

</div>

Looking for some help on an external swf file loading at a certain frame number depending on what navigation button is pressed. Confused? Me too! I have a main movie, lets call it mainMov and in it is an array (movArr) that loads external swfs in order as a next arrow is depressed.

```auto
 
//external movie array
var movArr = ["pics1.swf", "pics2.swf", "pics3.swf", "pics4.swf", "pics5.swf", "pics6.swf", "pics7.swf", "pics8.swf"];
var numArr = movArr.length;
i = 0;

```

The main movie has a “pictures” link that, when clicked, loads the first movie in the array.

```auto
 
pixHot.onRelease = function (){
 my_mc.loadClip(movArr[0], "container");
}

```

A forward arrow becomes active and it has a function that loads the next movies in order as you hit the next arrow.

```auto
 
nextImage = function (){
 if (i < (numArr - 1)){
  i++;
  my_mc.loadClip(movArr*, "container");
  prevPix._visible = true;
 }
}
nextPix.onRelease = function (){
 my_mc.loadClip(nextImage(), "container");
}
 

```

All this works fine but what I want to add is a link in the main movie that will “jump” to certain images within the external movies. Now, when you hit the next arrow, it loads the external swf at frame 1 (which is good. I want that to remain the same) but when I jump to a certain spot within an external swf I might want it to go to frame 5 or frame 6.  
Can anyone help me with this? What’s happening now is when I set the external swf to go a frame within the swf it goes to that frame all the time, not only when I jump to it.

I truly hope this makes sense.  
many thanks for looking!  
bfal
