.
Nice buttons easing using actionscript
In this Flash tutorial you will see how to use actionscript to make a nice button click effect, (as you might notice I just started using AS3 instead of AS2) just so you know.
The first thing is to make a nice smooth button, you can use an image or just draw something, I made a simple button using the rectangle tool, and added a drop shadow filter.

Right click your button and convert it to a movie clip, in the properties panel give your button and instance name, I just called mine btn_1.

Now hit F9 to go to the actionscript panel, (not having any movie clip selected if you are using AS3).
Type in the following code, I put in some comments in gray which should help you understand the code better if needed.

Thats it, try to run your flash project, you should have a button like mine, and if you click it, your should "jump" back and forth.
Admin Bob says: 2008-03-08
zack says: 2008-03-03
Admin Bob says: 2008-02-20
StupidSaint says: 2008-02-17
Ruiqi says: 2008-02-16
panamadream says: 2008-02-13
samivel says: 2008-01-24

