I have worked this tutorial out and it works great… I have named it photos.swf. BUT I have a main movie that will load photos.swf … photos.swf loads a bunch of other movies that are attached to button functions. These load in an empty mc like the tutorials explains. It works fine by itself but when I load photos.swf into an emptymc in the main movie it does not work anymore. I tried changing _root to _parent but still no dice. I also searched this forum and have found nothing… I am sure others have had the same question but I can’t find the answer.
I had the same problem when I was building my site. First you have to make sure that the hierarchy in your movies is absolutely right- that means getting rid of the _root deal and substituting it with _parent or _parent._parent, etc. also some things on the main timeline in your swf can just relate to it directly without a _parent reference. it really is a try and error deal. after that you need to create a variable in your main movie or your holder movie - call it _root.section = “photo.swf” If photo is the first swf you are loading. after that you can reference this variable from any swf by _root.section. You can use it to load other movies in your empty movie clip.let’s say you have a link button in your photo swf.attach something like this to it :
on (release) {
if (cucurrMovie != “link”) {
currMovie = “link”;
_root.section=link+".swf";
_parent.gotoAndPlay(“opening”);
“opening” is the frame where I have some tweens before I load the next movie it ends with an action :
stop();
loadMovie(_root.section,_root.container);
where container is the name of my empty movie clip where I load everything.hope it helps. i found the kirupa tutorial about transition very helpful
good luck:devious:
Thanks! I had actually gotten it to work… but now it does not work anymore! i am using movieclips as buttons and all of a sudden they won’t trigger the animation and/or load the .swf into the emptymc. If I change the movieclip to a button it works… any ideas on that one?
I also found the tutorial to be very good… now I am just getting in the way.