Wednesday, November 7, 2007

How to work with Button Library

How to work with Button Library

- The Button library contains the button that can be used

- Choose window menu, go to common library, then click on button

- This will display the button library

- Select the button you want and drag it to the stage

How to work with remove transform

How to work with remove transform

To work with remove transform

  • When you scale, rotate, skew instances, groups, and type with the Transform panel, Flash saves the original size and rotation values with the object. Thus, you can remove the last transformation applied and restore the original values.

- Select the object and rotate it and scale the object size

- Now we can restore the object by default

- Choose modify menu, go to transform, then click on remove transform

- The transform will be removed:

How to work with Test Movie

How to work with Test Movie

To work with Test Movie

  • As you create a movie, you'll need to play it back to preview animation and test interactive controls. You can preview and test movies within Test movie

- Choose control menu, then, click on test movie

- This will display your movie in the Test Movie window.


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