Buttons

Hello i am starting now to work with flash MX i know already how to make some stuff ( thx to kirupa tutotials :slight_smile: ) i would like how to know a button that in it over state can animate other object, exemple: a green button with a star on the side, and when i put the mouse over the green button the star will rotate. can someoene tell me how to do this?

well if you mean the star and the button are two different objects than:

  1. Make the star rotating a movie clip. IN that movie clip have a stop action on the very first frame and at the very end have an action that says “goto and play frame 2” that way it will loop
  2. put it on the main stage with the green button
  3. Give the star an instance name like “star”
  4. click on the button, open the actons pannel and add the actions " on mouse over, tell star go to frame 2 and play"
  5. To have the star stop moving when you move your mouse off the button, have the actions on that same button “on mouse out, tell target “star” go to and stop frame 1”

I hope that helps…

could u not just whack the star and animate it spinning in the button over state frame that would be easier wouldnt it just put it in each frame and on the over convert it to a movieclip then again and animate it from there

-Tom