Help with "Transitions between external SWFs"

Before I start, I just gotta say that this is an awesome site :slight_smile:

Usually, I don’t post on forums for help unless I’m really stuck, as in the case now. I just can’t seem to figure it out.

Problem: Alright, I have a SWF that loads in when the movie loads, we’ll call this 1.swf. This loads fine, transitions are good, everything is a go. When i click on a button to load 2.swf, it doesn’t load. Instead, it’ll just reload 1.swf and this goes for all the other buttons. It’ll just reload 1.swf.

I thought i didn’t follow the instructions on the finely written tutorial, but it doesn’t seem to be the case. So i figured out that I might have the location of the “container” (wher ethe content is loaded into) wrong.

Here’s how it’s set up:

  • Scene 1 > Site > MenuModule > Button
    The MC for “Container” is in “Site” and my buttons are all in “menumodule” which is under site.

My code for each button,

on (rollOver) {
gotoAndPlay(2);  }
on (rollOut) {
gotoAndPlay(11);  
}  
on (release) {  
if (_root.currMovie == undefined) { 
_root.currMovie = "djs"; 
_root.site.container.loadMovie("djs.swf");
} else if (_root.currMovie != "djs") {
if (_root.site.container._currentframe >= container.midframe) {
_root.currMovie = "djs";
_root.site.container.play();
}
}
}

searched the forums a bit, tried _parent._parent.container - didn’t work

edit - read over Levels … i’m still reading it over lol
Any type of help would be lovely. if i need more info posted, let me know :slight_smile: