Skip to main content
Inspiring
March 26, 2018
Answered

Button Animations in AIR Applications?

  • March 26, 2018
  • 1 reply
  • 227 views

Whenever I create a button and create a new image for the "UP", "DOWN", "OVER" and "HIT" frames, it works as needed to when I test the SWF file. But when I publish it as an AIR application and open it that way, the behavior of the buttons doesn't work correctly... when you click on them, they'll flash between the "OVER" and "DOWN" frames a couple of times, and then when the cursor is no longer touching the button, it sticks at the "OVER" frame until you click somewhere else on the screen. I don't understand this, am I the only one with this issue? Is there a workaround?

This topic has been closed for replies.
Correct answer kglad

usually that's because of a difference in size (w x h) of the over, down, hit frames.  to remedy create a large enough hit shape that it encompasses your other frames.

1 reply

kglad
Community Expert
kgladCommunity ExpertCorrect answer
Community Expert
March 27, 2018

usually that's because of a difference in size (w x h) of the over, down, hit frames.  to remedy create a large enough hit shape that it encompasses your other frames.