Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

Bynho

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Newbie

About Bynho

  • Rank
    Newbie
  1. Thanks for the quick reply, however when I try that it seems to ignore it. If i remove the updateTo then the repeat works, however I need the rotation to slowly ease out back to a certain angle. here is the code, that is still not working... _tween.repeat = 1; _tween.updateTo({rotation:_angleToStop, onComplete:onF},true); Thanks
  2. Hi Guys, I seem to have a problem with the tweenMax.updateTo method. Given this sample code: _tween = new TweenMax(myMc,2,{rotation:360,repeat:-1,onUpdate:onUpd, ease:Linear.easeNone}); function onUpd():void{ if(_stop){ _tween.updateTo({repeat:1,rotation:_angleToStop, onComplete:onF},true); } } I am expecting the _tween to update 1. its rotation value to the predetermined value in _angleToStop 2, repeat count to change from infinity (-1) to 1 3. for it to call the onComplete method once that 1 rotation is done, where it stops in the correct value; W
×