Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Button Hit Animation Not completing

New Here ,
Mar 13, 2013 Mar 13, 2013

So when I click on a button I want a little explosion to happen in the button, where it shatters out. I have created the animation, however when i click the button i only see the animation for a second because it gets cut off by the button over. How do i make it so when there is a click, the button hit animation completes before any other button action can take place?

TOPICS
ActionScript
580
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Mar 13, 2013 Mar 13, 2013

Create the button as a movieclip symbol instead of as a button symbol.  Then you can control its behavior as you like.

Translate
LEGEND ,
Mar 13, 2013 Mar 13, 2013

Create the button as a movieclip symbol instead of as a button symbol.  Then you can control its behavior as you like.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 18, 2013 Mar 18, 2013

how to I make it act as a button though? Because i want the scroll on to make a click, the actually button down to make an explosion sound and begin the explosion animation and complete that animation.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 19, 2013 Mar 19, 2013
LATEST

You use actionscript to control how the button behaves.  Assign event listeners for the different mouse interactions you wish to respond to and configure the event handler functions of those listeners to do the things you describe... play a sound or show an animation or both.

If you need help figuring out how to use movieclips as buttons you should search Google using terms like "AS3 movieclip buttons tutorial" and similar terms.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines