Skip to main content
Inspiring
October 25, 2009
Answered

TweenLite: can't access a property of a tweened object

  • October 25, 2009
  • 1 reply
  • 573 views

hello all

I'm trying to update a dynamic text field based on the scaleY value of a mask that I'm tweening using TweenLite.  Example:  as the mask scales from 1 to 0, the date in my text field would change from 1970 to 1980.  But it doesn't want to broadcast that scaleY property during the tween.  Probably a noob mistake---anyone have a suggestion?

thanks much

LML

This topic has been closed for replies.
Correct answer robdillon

Look at the onUpdate function in the TweenLite documentation at the Greensock site.

1 reply

robdillon
robdillonCorrect answer
Participating Frequently
October 26, 2009

Look at the onUpdate function in the TweenLite documentation at the Greensock site.