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.

inside custom component

Native Development

Reply
Developer
smartek
Posts: 281
Registered: ‎05-31-2012
My Device: Playbook
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.