Free Flash Tutorials

Home Food Mates • Members Tutorials Forum Buy Templates Contact Us 

 


Flash Tutorials

   

Flash Tutorial - Creating Simple Buttons

 

Free Flash Tutorial


Page 7     << Previous    1  2  3  4  5  6  7   >>        >>   Webwasp Mates

 

Step Seven: Actions

You now have a new button which you will need to add actions to so that it does something. See previous tutorial for details of how to do this: Creating Links within a Flash Movie

The hit state

The hit area is normally the same as the rectangle. You do not need to create this unless the hit area is different to the original rectangle you created on frame one.

Note: If your button does not have a solid background (in this case a rectangle) but only text, you will have to create a rectangle (or other solid shape), in the hit area frame. Otherwise when the mouse pointer goes over the gaps between the letters, the button will go back to frame one: The over state.
Very slowly move the mouse over button 1 below and you will see the problem.

My Example: Download the Flash File:  Beg 005d


Move the mouse slowly over the Buttons to see the difference.

Button 1 is not stable and moves between states with small movements of the mouse.

Button 2 is stable. Button 2 has a rectangle in the 'Hit' frame. This is not visible in the movie, but controls the 'Up', 'Over' and 'Down' states.

If you are having difficulty understanding this, download the movie and look inside the symbol at the Hit Frame. To look inside the symbol double click it on stage.

Have fun with your buttons, make them wild and wonderful!

Please indicate what you thought of this tutorial 
10 is the best: 
10 9 8 7 6 5 4 3 2 1

         

Page 7     << Previous    1  2  3  4  5  6  7   >>        >>   Webwasp Mates


Webwasp Community: Webwasp Mates & Dates

Why not try out webwasp's new community. Meet new people, find friends in your area: Webwasp Mates & Dates

85420 visitors to this page since Jan 04

 Top of Page Home Food Mates Members Tutorials Forum Buy Templates Contact Us 
 All material on this site is protected under international copyright © law. DO NOT reproduce any material from this site without written permission. Please ask as permission is often granted.