Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Cascades Development

Reply
Developer
smartek
Posts: 274
Registered: ‎05-31-2012
My Carrier: o2

possible to reset a TranslateTransition to the origin?

hi, is it possible to reset a element to its origin after making e.g. a TranslateTransition?

I have a animation like:

animations: [
                TranslateTransition {
                    id: moveME
	                toX: -800
	                duration: 600
                }
            ]

 and i dont want to write a animation which move the element back toX: 800

I just want to reset the element to the origin where it was when the app started.

Plase "+Like" my post if it was helpful.
Please use plain text.