Jump to content
GreenSock

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

vladc77

Members
  • Posts

    2
  • Joined

  • Last visited

vladc77's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hello, I am wondering if it is possible to assign the type of easing with a variable name. I will have to be able to change the tween type in multiple place at the same time. I always did it using MCTween but encounter problem doing the same with MaxLite. Here what I have. import gs.*; import gs.easing.*; var animType:String = "Elastic.easeInOut"; // assign a variable for the easing type //Run the TweenLite TweenLite.to(mc, 1, {_x:72, _y:121, _xscale:120, _yscale:140, _rotation:45, _alpha:50, ease:animType}); Obviously, It is not working. I am wondering if I set it up in a wrong way or there is another way to do the same. Thank you in advance.
×