Learn Flash: Menu Buttons

Home Food Mates • Members Tutorials Forum Buy Templates Contact Us 

 


Flash Tutorials

   

Flash - Menu that Swings In

 

Free Flash Tutorial


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

 

Step Two: The Invisible Button

  1. Go to: Insert > New Symbol
  2. Name it: Invisible Button
  3. For Behaviour select: Button
  4. Click: OK
  5. In the frame below the word HIT, right click (Mac: Ctrl click) and select: Insert Blank Keyframe
  6. Using the Rectangle Tool draw a: Rectangle
  7. Note: It does not matter how big the rectangle is.

  8. Place the rectangle on top of the cross in the: Centre of Stage
  9. Return to the Main Stage by clicking on the Scene 1 button:
  10. Open your Library: Window>Library (F11)
  11. Rename Layer 1: Buttons
  12. Drag onto the Main Stage the new button: Invisible Button
  13. With the Free Transformation Tool resize the button so that it covers the: Entire Stage


    The Invisible Button now covers the entire Stage.
  14. Attach the following Actionscript to the button:

        on (rollOver) {
            
    gotoAndStop(2);
        }


    Because it is a Roll Over button, as soon as the mouse goes over top of the movie, the Play Head will move to frame 2 and stop. The reason for the Invisible Button is to give Flash an opportunity to find the location of the Mouse Cursor.

         

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

 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.