Jump to content
Search Community

creativeocean last won the day on June 26 2013

creativeocean had the most liked content!

creativeocean

Business
  • Posts

    52
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by creativeocean

  1. I'm looking for direction on how to use TimelineLite to animate an array of movieclips in a carousel fashion. The array is populated by a variable amount of items, so I've been trying to loop through the array like so: for( var i:int = 0; i < myArray.length; i++ ){ timeline.append( TweenLite.to(myArray[i], transTime, {x:xPos1}) ); timeline.append( TweenLite.to(myArray[i], transTime, {x:xPos2}), holdTime ); timeline.append( TweenLite.to(myArray[i], transTime, {x:xPos3}), holdTime ); timeline.append( TweenLite.to(myArray[i], transTime, {x:xPos4}), holdTime ); timeline.append( TweenLite.to(myArray[i], transTime, {x:xPos5}), holdTime ); } And while that makes a nice little animation of each clip in that array, each item animates consecutively, where I'm looking to have all the items moving across the stage from position to position...like a carousel. Lastly, it's important that I keep file size light, so if I can avoid TimelineMax / TweenMax, that'd be best.
×
×
  • Create New...