Jump to content
Search Community

fil

Members
  • Posts

    2
  • Joined

  • Last visited

fil's Achievements

0

Reputation

  1. I'm trying to use TweenLite with an Array but I don't know why it doesn't change me the values... import com.greensock.*; import com.greensock.easing.*; var myArray:Array = [15, 25, 63, 44, 53, 67] var end:Array = [1, 2, 3, 4, 5, 6]; TweenLite.to(myArray, 2, {endArray:end,onUpdate:applyValues}); function applyValues():void { trace(end) } This code returns me: 1,2,3,4,5,6 1,2,3,4,5,6 ............. ............. and not a sequence of intermediate numbers. May I have a help, please? Thk, Fil
×
×
  • Create New...