Jump to content
Search Community

Hulfy

Members
  • Posts

    3
  • Joined

  • Last visited

Hulfy's Achievements

0

Reputation

  1. ok this is not going to work, what I need is the % of animated completed time or the number of seconds it has been running. Are there build in tweenlite variables?
  2. This returns 0 too, TweenLite.to(circle, 10, { rotation:1440, onUpdate:passPosition}); function passPosition():void { reportPosition(this.rotation); } function reportPosition(value:Number):void { trace ("My rotation is now " + value); }
  3. Hi, I am tweening a circle and want to send the value to a function. My code looks ok to me, what am I doing wrong? I just keep passing a value of 0 to my function. TweenLite.to(circle, 10, { rotation:1440, onUpdate:reportPosition, onUpdateParams:[this.rotation]}); function reportPosition(value) { trace ("My rotation is now " + value); }; Thanks.
×
×
  • Create New...