Now you have to create image for each state. They can contain the same image or if you want to add a touch of flare to your site. They can all be different. First we'll start with "Up".
Similar to creating a graphic, you can import a graphic, use the drawing tools or create an instance of one of your other symbols by placing it on the stage. It is important to note that you can't use a button in a button but you can use a movie clip for an animated button or a graphic symbol.
For the purpose of this tutorial we'll create a circle. Place your circle on the stage and you'll notice that the "Up" frame now has a full keyframe in it. You have just created your first button state.
Now click in the second frame, labeled "Over", and choose Insert > Keyframe. The circle image from the first frame will appear on the Stage. This frame is essentially the rollover function so you'll want the image to be different. Modify the circle image by placing a smaller circle of a different colour in the center. When the mouse is over the button this circle will appear. Put the mouse over the circle below.
Repeat this step for the "Down" and "Hit" frames.
Hint: Keep your "Down" image the same as "Up" but nudge it slightly right and down the page from the ""Up"" position. This will give an impression that the button is pressed when clicked on. Click on the circle below to see what I mean.
|» Level Basic|
Rating: 7.99 Votes: 1192
|Jessamin Swearingen & Eddie Carroll|
|Download the files used in this tutorial.|
|Download (22 kb)|
|More help? Search our boards for quick answers!|