ok, i enjoy working in flash, and ive seen loads of good rollover effects, and always wondered how to do them, and then I came across this tutorial,(http://www.kirupa.com/developer/mx2004/button_effect.htm) and I though great!
but, my buttons starts its animation as soon as the flash is loaded, and this is clearly wrong, ive no idea what im doing wrong.
the code im using is :
stop();
this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
}
}
this.onRollOver = function(){
rewind = false;
play();
}
this.onRollOut = function(){
rewind = true;
}
this.onRelease = function(){
getURL("http://www.kirupa.com","_blank");
}
same as the tut, but the //stop(); is stop();
can anyone else go through the tut and see if it works for them?
thanks
Todd
but, my buttons starts its animation as soon as the flash is loaded, and this is clearly wrong, ive no idea what im doing wrong.
the code im using is :
stop();
this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
}
}
this.onRollOver = function(){
rewind = false;
play();
}
this.onRollOut = function(){
rewind = true;
}
this.onRelease = function(){
getURL("http://www.kirupa.com","_blank");
}
same as the tut, but the //stop(); is stop();
can anyone else go through the tut and see if it works for them?
thanks
Todd







