Ok, this seems to be non-deterministic, and my attempts to “work around” the behavior I’m experiencing have failed. Miserably.
I’m trying to scale an object from a specific point. Setting xReference and yReference to the correct spot on the image works, the scaling definitely happens around that point. However, as soon as I adjust the xScale and yScale values, the image pops to some new location. Sometimes it travels a short distance, sometimes an enormous distance.
I don’t understand the Corona scene graph architecture…it seems woefully complex, and unnecessarily so. This is odd given that the founders came from Adobe, and Flash has a wonderfully simple and elegant scene graph architecture.
The docs say changing xReference and yReference don’t change the position of the object, and that’s true, it doesn’t…until you apply a scale to the object. And I would expect that…but not a “pop”…it should simply update to reflect the new location based on the scaling that occurred around the reference point.
What is the magic sequence of events that I need to create to keep this pop from happening?
Thanks in advance for any help!
-John Nagle
[import]uid: 193702 topic_id: 34591 reply_id: 334591[/import]