Groups | Blog | Home
all groups > flash actionscript > february 2006 >

flash actionscript : Need Help with LoadMovie Plz plz plz


jbtalk2me2
2/7/2006 10:27:52 PM
I am trying to build my first website with a flash teplate. The site is coming
along and I have learened alot along the way. But now I am at a stand still
because I have made a botton inside my template to play an external SWF in the
_root and when I use it in test movie mode the clip plays but the site templat
shuts down. What do I need to do to play the clip and return to my template?
Code I used:

on (release) {loadMovie("Overview.swf", _root);

}

Thank you for any help
blemmo
2/7/2006 10:45:14 PM
_root is the Movieclip's main timeline, so if you load another movie into
_root, it will replace the original movie.
To avoid that, you can use loadMovieNum() and specify a level higher than 0
(_level0 would be the same as _root here) or place a Movieclip in your template
and load the other movie into that (>> loadMovie("daMovie.swf",_root.dummyMC)).

cheers,
blemmo
AddThis Social Bookmark Button