Jump to content
Search Community

Search the Community

Showing results for tags 'staggerto reset position'.

  • 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
  • Supercharge

Categories

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Personal Website


Twitter


CodePen


Company Website


Location


Interests

Found 1 result

  1. Hi there! I'm trying to reset the starting position of an array of elements when I replay my main timeline animation. I've tried using TweenMax.set to set the original state of each element but I'm not having much luck. var txtEffect = ["#w", "#s", "#r2", "#e", "#n", "#o2", "#v", "#l2", "#r1", "#a2", "#l1", "#u", "#l3", "#a1", "#o1", "#f1", "#f2" ]; function showTxt() { tlTxtEffect = new TimelineMax({ paused: false, }); // wind effect tlTxtEffect.staggerTo(txtEffect, 3.75, { cycle: { top:function(){ return Math.random() * 300 }, left: function(){ return Math.random() * -700 }, scale: function(){ return Math.random() * 2 }, rotationX: function(){ return Math.random() * 20 }, rotation: function(){ return Math.random() * -360 } }, ease:Power4.easeOut, }, 0.03); } Thanks in advance, Blake
×
×
  • Create New...