Skip to main content
Known Participant
March 9, 2010
Question

main window animation to fly in when clicked on different menu buttons

  • March 9, 2010
  • 1 reply
  • 552 views

For a flash website I'm creating, I want my main window box with all the information containing it to fly in when a menu button is clicked.

I can't figure out the actionscript to do that.

It's the same thing as this website's main window:

http://www.flash-templates-today.com/free-flash-templates/27/

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
March 9, 2010

that's a tween with a bounce easing.  you can learn more about using the flash tween class by checking the flash help files or using google to search for a tutorial:  flash as2 tween

mariareigAuthor
Known Participant
March 9, 2010

thanks for the tips!

did you know of any links or templates that would have the actionscript for that already done that i could base mine off of?

I'm not sure how I would make the movieclip tween when I clicked on a menu button and have the text in it change as well.

kglad
Community Expert
Community Expert
March 9, 2010

do one thing at a time.  if you don't know how to code a button, check the code samples in flash under the button or movieclip class.  in particular, check the onRelease() method.  once you can code a button to respond to a mouse click add the code to change a textfields text.  then add your tweening.