Jump to content
GreenSock

ilikepooz

Members
  • Posts

    2
  • Joined

  • Last visited

Profile Information

  • Location
    New Zealand
  • Interests
    Flash, Tits and Sock puppets

ilikepooz's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. legendary, thanks for all your help
  2. I'm trying to use one Tweenmax call to handle multiple tween types by using function parameters instead of declaring all the properties individually. declaring the property as a string works fine, here i can animate 'top', 'scale', whatever => TweenMax.to(p_target, p_time, {'top' : p_value} ); however passing the 'top' property as a string parameter logs invalid tween value => TweenMax.to(p_target, p_time, {p_type : p_value} ); is there a way to use parameters or variables to declare which property should be animated? thanks in advance.
×