loadMovie Problem

I’m loading an external swf into an empty mc called “emptyMC” on my main timeline. that loaded swf loads another swf into an empty mc called “view2” when a button is pressed. Here is my code…


on (release) {
loadMovie("tabletennis.swf", "_root.emptyMC.view2");
}

the above code isn’t working right. I’m not sure how to target each empty MC in sequence in order for this to work.

Any thoughts?

Thanks. This board has been a great help so far.

sorry i not so undertsand what u mean…
but as i know you cannot put 2 items as “_root.emptyMC.view2”.
If you want a movie load a external swf file and that external swf file load another external file again .Then u shall make another movie inside that first external loaded movie to load the second external file.

what about:

on (release) {
loadMovie(“tabletennis.swf”, “_root.view2”);
}

hi g-shock. I tried the above code and it isn’t working. view2 isn’t exactly on the root timeline, it’s in a empty MC called “emptyMC” that is on the main timeline. Any ideas on how to target it. I just can’t seem to get this darn thing working. Any thoughts would be much appreciated.

Thanks.

The code you were using

on (release) {
loadMovie(“tabletennis.swf”, “_root.emptyMC.view2”);
}

should work. I`ve reproduced the hierachy here & no probs, so it must be something else.
http://www.gifsrus.com/testfile/disp.zip