Buttons – Button with animation
|
|
![]() |
|
|
|
Step by step |
|
and choose as behavior : button. |
![]() |
|
different parts of the button. |
![]() |
|
In the section up you will see the button how it will be displayed on your page. We can now draw a rectangle and use the rectangle radius to round the angles. |
![]() |
|
where we set the Corner Radius 20 Points. |
![]() |
![]() |
|
|
![]() |
|
|
![]() |
|
You then place a keyframe in the section over in the layer. Set here the background to a different color. |
![]() |
|
the button. |
|
We place now a keyframe in the section down in het layer and again we chose a different backgroundcolor than the ones we have chosen before. |
![]() |
|
|
|
Now we place a keyframe in the section hit in the layer. It is not required to chose a color as this part will only determine where you can click the button. |
|
New in Flash MX is that you can click the back-arrow to return to the previous sheet (in our case Scene 1) |
|
|
|
For this we open the library by pressing window > library (ctrl+L) to the previous sheet. And then we drag our button to the desired location |
![]() |
|
|
This is a tutorial for Macromedia® Flash MX®.
Macromedia and HomeSite are trademarks or registered trademarks of
Macromedia, Inc. in the United States and/or other countries.
© Tim Beylemans. All rights reserved.










