billy
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by billy
-
-
Hi,I found difficult to under the following code example, what's the .add() doing there
from reading the api i understand it's adding a label, but still find its confuse, can someone explain?Thankstl.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")
Greensock tweenlite.to .add()
in GSAP
Posted
wow thanks rhernando for you very detailed reply. 1+