Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

expanding text button

Status
Not open for further replies.

nighttrain20

Technical User
Jan 1, 2002
27
US
I am creating a menu list like this:

Button 1
Button 2
button 3

In the over frame I would like my text to expand when the mouse is over it. I only see the 4 frames for buttons; Up, Over, Down, Hit. I would imagine that it needs to be done with tweening but how do I get that to happen. Thanks
 
Make a new movie clip.
Put the button in the first frame.
Create the animation of the button that you desire to say 10 frames in length.
Add an action to the first frame:
on(mouseover) {
play();
}
On all other frames put an action of:
on(mouseout) {
goToAndStop(1);
}

You will notice you will need to do a little more work thatn this to make it smooth on mouseout, but I've got faith in you :) This should give you the idea.
-Mac
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top