Hey guys, I got a question for you… I did this tutorial http://www.kirupa.com/developer/mx2004/transitions.htm and it worked fine for me. But when I whant to use it for my home page it dosent work.
Here’s the structure of my website.
http://www.mtb-vacations.com/peter/Pages/
index.swf
This file only has 2 things,
screen.loadMovie("home.swf");
stop();
And a MC called “screen”.
As you can see this is the _root. (right?).
In the swf file “home.swf” I got a button with this code,
on (release) {
loadMovie("start.swf", _root.screen);
}
**This loads the “start.swf” file in the MC “screen” on the _root. **
In this file I have more buttons etc all linking to _root.
Now you know a bit how my site works. But I cant figure out how to make this work,
on (release) { if (_root.currMovie == undefined) { _root.currMovie = "main"; container.loadMovie("main.swf"); } else if (_root.currMovie != "main") { if (container._currentframe >= container.midframe) { _root.currMovie = "main"; container.play(); } } }
Should it be _root.container or something? Please some help!