Jump to content
GreenSock

Search the Community

Showing results for tags 'js timelinelite staggerfromto'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • GreenSock Forums
    • GSAP
    • Banner Animation
    • Jobs & Freelance
  • Flash / ActionScript Archive
    • GSAP (Flash)
    • Loading (Flash)
    • TransformManager (Flash)

Product Groups

  • Club GreenSock
  • TransformManager

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Hi With TimelineLite.staggerFromTo is it possible in the context of 'fromVars' and 'toVars' to reference an array of values according to which index is being animated. for example say I have three navigation buttons: <div class="navButton"></div> <div class="navButton"></div> <div class="navButton"></div> ...and a JS object that contains x,y positions of where the three buttons should be animated to: var navPositions = [ { x:100, y:100 }, { x:200, y:30 }, { x:55, y:97} ] //arbitrary numbers ...then reference an array or positions as opposed to static values var tl = new TimelineLite(); tl.fromTo( $('.navButton'), 1, {x:0,y:0}, { navPositions[aTLprovidedIndex?] }, 0.2); I would love to know if this is possible and to be shown an example if so... Many thanks in advance
×