private function scaleMc(mc:MovieClip, a:Number, z:Number):Boolean {
var elasticWidth:Tween = new Tween(mc, "_width", Elastic.easeOut,a,z,3,true);
var elasticHeight:Tween = new Tween(mc, "_height", Elastic.easeOut,a,z,2,true);
elasticHeight.onMotionFinished = function () {isFinished = true}
trace(isFinished);
return isFinished;
}
This function is declared in a custom class.
Is that true that the onMotionFinished cant work within a custom class? (isFinished always return false which is its default value)
Any helps would be great