Flash Buttons: The Over State

Home Food Mates • Members Tutorials Forum Buy Templates Contact Us 

 


Flash Tutorials

   

Creating Buttons

 

Free Flash Tutorial


Step 4    <<   Previous      Intro   1   2   3   4   5   6   7   8     Next   >>       >>   Webwasp Mates

 

Step Four: The Over State

The Over State refers to what the button looks like when the mouse cursor is moved over the button. If the button looks different it is visually clearer to the user when the button is ready to be clicked, as they can see that the Mouse Cursor is in the correct place to click on the button. In this case I will show you how to change the Button's Font style and background color. Like this:

My Example: Download the Flash File:  Beg 005a


Click and drag your mouse over this button.

Note: It is not essential to have an Over State but the button will look better and be clearer to the user with an Over State.

  1. In the Timeline right click (Mac - Ctrl click) in the: Over Frame
  2. From the Menu select: Insert Keyframe

  3. Right Click in the Over Frame and select: Insert Keyframe

    Note: The Play Head will move to the Over Frame and your text and rectangle from Frame 1 is copied to the Over Frame:


    The red Playhead is now in the Over Frame.

  4. De-select both the rectangle and text by clicking on a blank area of the Stage: Deselect Button

  5. The text & rectangle are no longer selected.

  6. Select the: Text
  7. Change the text to bold: Text > Style > Bold (Ctrl Shift B)

  8. Text is now too big for the background rectangle!

  9. If the Property Inspector is closed, open it: Window > Properties > Properties (Ctrl F3)
  10. If the Text is too big go to the Property Inspector and: Reduce the Size

  11. Reducing the text size in the Property Inspector.

  12. In the Property Inspector change the Fonts colour. I selected: Black
  13. So that you can get to the rectangle below: Drag the Text Aside
  14. Click to select the: Rectangle Fill
  15. In the Property Inspector change the Fill color:
  16. You will now need to re-align the text to the centre of the Stage again:

  17. If the Align panel is closed, open it: Window > Align (Ctrl K)
  18. Select the: Text
  19. Click on the Align Vertical centre button:
  20. Click on the Align Horizontal centre button:

The Over State is now done! Although we changed the font style, colour and background color you could have changed any combination of attributes.

         

Step 4    <<   Previous      Intro   1   2   3   4   5   6   7   8     Next   >>       >>   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

23997 visitors to this page since Nov 06

 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.