Wednesday, November 7, 2007

How to create a Simple button

How to create a Simple button

To create a Simple button

- Choose insert menu, then click on new symbols

- Then select Button from the Symbol Properties:

  • The layer will display as shown below. ‘UP’ means that at the time the button is released, ‘OVER’ means at the time the mouse is over the button, ‘DOWN’ means at the time clicking on the mouse. Hit defines the area that will respond to the mouse click. This area is invisible in the movie.

  • Draw a rectangle to stage and then click on the second frame, labeled Over, and choose Insert menu then click on Keyframe

- Change the color of rectangle:

- Click the third frame, labeled Down, and choose Insert menu then click on Keyframe

- Then resize the rectangle:

- Click the labeled Hit frame, and choose Insert menu, then click on Keyframe

- Change the color of button

- Return to scene 1 by clicking on the Scene 1

  • Choose window menu, click on library to display library.

  • The button will be stored in the library.

  • Drag it to the stage

- Choose control menu, then click on enable simple button

- Now move over the button and click. You will see the button work:

Up Over Down

No comments: