Origin of scale.

Hi,

Is there any way to make a display object ot change it’s scale with origin of center of object?

I changed scale of a display object but it was streched based on its bottom right corner.

Thanks.

Super simple. Just change the reference point before scaling:

http://docs.coronalabs.com/api/type/DisplayObject/setReferencePoint.html

Super simple. Just change the reference point before scaling:

http://docs.coronalabs.com/api/type/DisplayObject/setReferencePoint.html