Jump to content
Search Community

billy

Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by billy

  1. wow thanks rhernando for you very detailed reply. 1+
  2. Hi, I found difficult to under the following code example, what's the .add() doing there http://api.greensock.com/js/com/greensock/TimelineLite.html#add() from reading the api i understand it's adding a label, but still find its confuse, can someone explain? Thanks tl.to(car, 1, {left:177, ease:Back.easeOut}) .add("up", "+=1") .to(car, 1, {top:70}, "up") .to(lift, 1, {top:167}, "up") .from([man1, man2], 1, {left:-100}, "up+=0.8") .from(man3, 1, {left:600}, "up") .to(man3, 0.2, {scaleX:-1}, "+=1") .staggerTo([man3, man2, man1], 1, {left:600, ease:Power2.easeIn}, 0.5, "menOut") .to(lift, 1, {top:297}, "down") .to(car, 1, {top:200}, "down") .to(car, 1, {left:600, ease:Power1.easeIn}, "out")
×
×
  • Create New...