Skip to main content
Inspiring
February 6, 2007
Question

loadMovie to target issue

  • February 6, 2007
  • 14 replies
  • 153342 views
Sorry this is a cross-post but I need help pretty quick. Noone is responding in General.

I'm trying to load a external movie clip (600x450_test.swf) to a target (targ02) on the main timeline.

I have a clip on the main timeline which contains all my buttons. The script (below) is in the first frame of this clip.

The external clip loads but replaces the entire main movie all together.

I've been away from Flash for a few weeks but I thought this was what always worked. Not near old files to check.

Script here:

stop();

this.btn_Installingyt.onRelease = function(){
_root.loadMovie("600x450_test.swf", "targ_02");
};

System: FlashPro8, XP.
This topic has been closed for replies.

14 replies

Inspiring
February 6, 2007
hmm, i hav no idea then... it shouldnt have anything to do with depth if it's a separate mc..

can you post your FLA so that i can have a look?
Inspiring
February 6, 2007
Can you use the loadMovieNum function like below?
loadMovieNum("600x450_test.swf", 2);
leodsmithAuthor
Inspiring
February 6, 2007
thanks sketchsta.

targ_02 is an empty clip. and the instance name is correct.

My buttons are in a separate clip on the same timeline and placed where I want it.

seems this has worked a thousand times for me. weird.
Inspiring
February 6, 2007
is targ_02 an emptyMovieClip
or is that where you have your buttons located?

otherwise, just position targ_02 to where you need it..