Changing the xReference and yReference of an object BEFORE a transition.to makes the object jump. What seems to happen is the obj.x, obj.y of the object is changed when the Reference point changes.
Then, when I call the transition.to to go to a new x,y, the obj jumps to the changed obj.x, obj.y, then transitions to the correct x,y offset by the correct, new xReference, yReference.
Who cares?
Well, what if you have an object which you position when it was aligned “TopLeft”. Then, you change the alignment of an object to “Center” and then transition that object to a the center of the screen? It’s great…the obj moves to the center of the screen.
Now, how to get it back? Set the alignment to “TopLeft” again, transition to the old coordinates, and Voila! the damned thing jumps like a rat on a hotplate.
Help!
[import]uid: 37366 topic_id: 14725 reply_id: 314725[/import]