Menu on external swf to load other swfs on main.swf
Heya,
I'm having a hard time figuring out how paths work and can't find a specific tutorial anywhere for my situation. I have a external swf containing a menu called menu.swf... this loads immediately with my main. When I click on a button I am trying to load another external swf into the main... How do I write for the code for the button and how do I path it back to the main? For example, say the movie clip I want to load on the main is called baby.swf with the instance name baby1...
This is what I am doing and it doesn't work, for the button inside menu.swf:
on (release){
_root.baby1.loadMovie("baby.swf", 2);
}
On my main timeline I have the code for the container like this:
createEmptyMovieClip("baby1_holder", 2);
baby1_holder.loadMovie("baby.swf");
I have a stop on the first frame of the baby1 movie.
Please let me know if I am on the right track here...
Thanks!
Last edited by swamyg1; 05-04-2005 at 04:24 PM.
|