Ok, i’m following these two tutorials…
http://www.kirupa.com/developer/mx2004/transitions2.htm
and
http://www.kirupa.com/developer/mx2004/button_effect.htm
Now, i’ve assigned the code on the transitions tutorial onto the button, so it looks like so…
stop();
this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
}
}
this.onRollOver = function(){
rewind = false;
play();
}
this.onRollOut = function(){
rewind = true;
}
this.onPress = function(){
if (_root.currMovie == undefined) {
_root.currMovie = "portfolio";
container.loadMovie("portfolio.swf");
} else if (_root.currMovie != "portfolio") {
if (container._currentframe >= container.midframe) {
_root.currMovie = "portfolio";
container.play();
}
}
}
Now, when i click on the movieclip/button, it wont transition, the about.swf just stays on the page. What am I doing wrong here?