Animation of Buttons
I want to click a button image, and have it animate and play a sound. For example, click on a button…it plays some quick "fire" around the button with some sound and then the event (transition occurs). I've got the sound part down (although there is a delay on the first occurrence), but not sure about the animation.
Does anyone have a "best practice" for something like this?
Thanks
1 Answer
-
Did you check the animation examples in Kitchen Sink?
Basically, you can use any view's animate method or use the Titanium.UI.Animation objects for more advanced animations and sequences. They also fire an event for when the animation completes, so you can chain or reverse animations etc.