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.
//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.
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.
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