Export to GitHub

tweensy - issue #11

width after completion not correct


Posted on Dec 25, 2009 by Swift Bear

What steps will reproduce the problem?

var easing=Sine.easeOut; var time:Number=10; trace(mc.y,mc.rotation,mc.width); TweensyZero.from(mc, {width:100,rotation:35,y:-200}, time, easing); TweensyZero.onComplete=allComplete; function allComplete() { trace(mc.y,mc.rotation,mc.width); }

What is the expected output? What do you see instead?

trace 1= 162 0 325 trace 2= 162 0 371.75

What version of the product are you using? On what operating system?

0.2.2 windows 7

Please provide any additional information below.

Attachments

Comment #1

Posted on Dec 25, 2009 by Swift Bear

it works ok only if i put one propertie

Comment #2

Posted on May 5, 2010 by Grumpy Ox

Probably your rotation causes to change the object's width. And the tween does not check if it's the same after completion, just breaks the process into time-chunks and calls update every tick.

Try to do the same thing with a perfect circle.

Status: New

Labels:
Type-Defect Priority-Medium