[size=2]Hello,
I hope someone can help me.
I have made a complex button with the help of warhero’s tutorial. The onRelease event of this script opens a URL when clicked.
What I need is to have the onRelease event of this script load an external movie into a container mc based on Voetsjoeba’s Transitions tute.
I thought I’d try combining the if/else statement from Voetsjoeba into the complex button script, but this does not work. Can someone tell me how to combine these scripts?
Here’s the Actions - Frame I need help with. Many thanks.
[/size]
stop();
this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
}
}
this.onRollOver = function(){
rewind = false;
play();
}
this.onRollOut = function(){
rewind = true;
}
this.onRelease = function(){
if (_root.currMovie == undefined) {
_root.currMovie = "OneOn";
container.loadMovie("OneOn.swf");
} else if (_root.currMovie != "OneOn") {
if (container._currentframe >= container.midframe) {
_root.currMovie = "OneOn";
container.play();
}
}
}