Animated Button
Select the first frame of the cube movie clip and copy it to the clipboard (CTRL+C). Return to the main timeline and insert a button symbol (CTRL+F8). Paste (CTRL+V) the first frame of the cube clip into the 'up' frame of the button and use the align tool (CTRL+K) to centre it.
Select the 'over' frame and press F6 to add a keyframe, press delete and then drag the cube movie clip from the library and align it to the centre.
If you have made a reverse rotation cube movie clip then you can insert it into the down frame, otherwise just press F6 again - and once again for the hit frame. The hit area needs to be defined by a solid shape - so select the square drawing tool and draw a square over the cube in the hit area frame.
Return to the main timeline and drag a copy of the button from the library onto the stage and add an onRelease action to it.
| » Level Intermediate |
|
Added: 2001-05-15 Rating: 8 Votes: 97 |
| » Author |
| No details available. |
| » Download |
| Download the files used in this tutorial. |
| Download (26 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!