
cthulhu
-
Posts
6 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
ScrollTrigger Demos
Downloads
Posts posted by cthulhu
-
-
Hi gs forums I'm having a lot of trouble with the css plugin. Hoping you can help. I have an absolute positioned element and I need to use fromTo on top, left and rotate. Where am I going wrong?
TweenLite.fromTo(photo, 1, css:{left: '50', top:'100', rotation:0}, css:{left: '55', top:'382', rotation:7, ease:Expo.easeOut, onComplete:function(){}});
-
1
-
-
Thanks Carl
-
As a control, the following line in my code works perfectly
var myTween = new TweenLite.to(photo, 1.5, {width:100, height:200, paused:true});
but when I change it to any of the following it doesn't work
var myTween = new TweenLite.to(photo, 1.5, {marginLeft:'200px', paused:true});
var myTween = new TweenLite.to(photo, 1.5, {marginLeft: 200, paused:true});
and the following kicks an error
var myTween = new TweenLite.to(photo, 1.5, {margin-left:'200px', paused:true});
var myTween = new TweenLite.to(photo, 1.5, {margin-left: 200, paused:true});
-
dowaDowp!
thx a million !
-
I'm having trouble using object oriented TweenLite.fromTo and the paused:true parameter. The following doesn't work
var myTween = new TweenLite.fromTo(photo, 1.5, {width:0, height:0, paused:true}, {width:100, height:200});
In what way should paused:true be correctly applied?
correct fromTo with css plugin
in GSAP
Posted
Carl, thats twice in two days you've saved my butt!!! I'll try to get in a jam tomorrow so you can make it a hat-trick
. Thanks a million - where can I buy you a virtual beer?