PDA

View Full Version : usage of _root command with loaded swf files



hellstormvice
February 20th, 2003, 03:33 PM
hi everyone! :hat:


i have a problem because i do not understand why one cannot use _root commands when you load a swf file into one other, if you are using loadmovie?!

i think this is kinda logical, but is there an alternative>

plz tell me thnx people

:skull: michael :!:

mojoNYC
February 20th, 2003, 03:47 PM
the reason is because you are loading into a _level, which is a different hierarchy than _root--instead of using _root, specify the MC like this

loadMovieNum("myMC.swf", 10);
_level10.myMC.gotoAndPlay(2);

C:-)
-mojo

pom
February 20th, 2003, 07:51 PM
Check the Action tricks section, something called "Relative Addressing".

pom :cool: