Jason Wieczorek
- Forum posts: 3
Jul 24, 2013, 7:27:23 PM via Website
Jul 24, 2013 7:27:23 PM via Website
Hi,
I am trying to accomplish the following...
1. user clicks imagebutton
2. scale animation is played, leaving the imagebutton 2 times its original size (achieved with animation.fillAfter(true) from java code)
3. user clicks the newly scaled imagebutton
4. new scale animation is played, that resets the imagebutton to its original size.
All is working perfectly fine, but on step 3 above, on the down-click of the imagebutton, the original image size is shown. Then when I release the press, the second animation starts perfectly. Is there some re-draw going on while down clicking the image button? Any ideas?
I am trying to accomplish the following...
1. user clicks imagebutton
2. scale animation is played, leaving the imagebutton 2 times its original size (achieved with animation.fillAfter(true) from java code)
3. user clicks the newly scaled imagebutton
4. new scale animation is played, that resets the imagebutton to its original size.
All is working perfectly fine, but on step 3 above, on the down-click of the imagebutton, the original image size is shown. Then when I release the press, the second animation starts perfectly. Is there some re-draw going on while down clicking the image button? Any ideas?
Recommended editorial content
With your consent, external content is loaded here.
By clicking on the button above, you agree that external content may be displayed to you. Personal data may be transmitted to third-party providers in the process. You can find more information about this in our Privacy Policy.