Flash Rollover Button
In this tutorial I will be going through the steps on how to make a rollover button in Flash using Actionscript 2.0
I recommend watching it fullscreen so you can see the code that I’m typing.
Here is the code that I use:
Stop action:
stop();
Button actionscript:
but1.onRollOver = over;
but1.onRollOut = out;
but1.movtext.textbut.text = “HOME”;
function over() {
this.gotoAndPlay(2);
}
function out() {
this.gotoAndPlay(11);
}
You can download the .FLA file from:
http://www.filedropper.com/skb875rolloverbtn
Comments are closed.