Hello I’m following the transtion tutorial from kirupa
however my goal is to have this transition occur within movie clips on the main time line so when they clip that movie clip it works etc…
what changes do i need to make the code to achieve this
I did the following i named the movie clip instance i want transition for “lake” and did the following
[COLOR=royalblue]
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = “work”;
container.loadMovie(“work.swf”);
} else if (_root.currMovie != “work”) {
if (container._currentframe >= container.midframe) {
_root.currMovie = “work”;
container.play();
}
}
}[/COLOR]
i changed that code to this
on (release) {
if (lake.currMovie == undefined) {
lake.currMovie = “work”;
container.loadMovie(“work.swf”);
} else if (lake.currMovie != “work”) {
if (container._currentframe >= container.midframe) {
lake.currMovie = “work”;
container.play();
}
}
Then I changed the code on the last swf that i want from this
[COLOR=royalblue]_root.container.loadMovie(_root.currMovie+".swf"); [/COLOR]
to this
lake.container.loadMovie(lake.currMovie+".swf");
When I did this it loads the clips with the transition but when i click another clip it does not transtion out just goes to next swf transtion in
Thanks in advance