Is there a better way to script (AS3) this tween scaling?
Hi,
In a pure AS3 project, I am using the following as part of a tween to expand and contract a circle evenly:
function tweenChange(e:TweenEvent):void {
// set scaleY to the same value
_circle.scaleY = _circle.scaleX;
}
Should the _circle.scaleY = _circle.scaleX; be written differently to comply with good scripting standards? Is there a better way to script this?
Thank you for your help.