Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Super Contributor
Posts: 440
Registered: ‎01-13-2011
My Device: Playbook
My Carrier: NA


Im trying to rotate a dial image on touch.


When the dial gets to 360, then to 0, the dial animates backwards rather than conituing from 360 to 0.


I'm thinking it's a problem with:



 This appears to animate the roattion, is there a way to set the rotaton rather than animating it. Or perhaps to animate it with a time of 0?

BlackBerry Apps: Instruments | ARTPAD | Piano | Drums | Xylophone
Super Contributor
Posts: 306
Registered: ‎08-10-2010
My Device: Not Specified

Re: setRotationZ?

I think rotation z work only in clock wise direction so after reach 360 and now you want to rotate to 320 it will rotate from o to 320 and not 360 to 320.

BlackBerry Development Advisor
Posts: 683
Registered: ‎11-29-2011
My Device: PRIV
My Carrier: Rogers

Re: setRotationZ?

have you tried continuing to rotate > 360?  eg. 361, 362, etc.  ?