Go to Frame in external SWF?

I want my main page to load an external SWF and go to a frame in that external SWF.

I am putting the following Actionscript 2.0 into the main page that the external SWF is loading into:

the we.come.swf is what I am loading.


I want to go to this frame in welcome.swf once it loads. I want it to play the animation.


Thanks for your help.

This should work:

var mcHolder:MovieClip = createEmptyMovieClip("mcHolder", getNextHighestDepth());
var mcLoader:MovieClipLoader = new MovieClipLoader();
mcLoader.loadClip("external.swf", mcHolder);
function onLoadInit(mc:MovieClip) {

I can’t get it to work with a frame label (not sure why) so I just added the frame number instead. Make sure to change it to the frame number you need. :slight_smile:

Thank you! But where do I put the frame number in the Actionscript you posted?

Right where it says framenumber:


would become


Oh… thank you. :smiley: