
shibbydoo
-
Posts
16 -
Joined
-
Last visited
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
ScrollTrigger Demos
Downloads
Posts posted by shibbydoo
-
-
I'm trying to tween border-bottom-color in css, I assume it's camel casing like this borderBottomColor
TweenLite.to(this.sprite, 0, {css:{borderBottomColor:'#91f4c2'}});
but this doesn't seem to work, or maybe I'm using the wrong name? Thanks.
-
that solves it! thanks for the help.
-
I zipped up all the necessary files here. https://www.dropbox.com/s/va4k5pyk2rnd9dj/testhtml.zip
-
maybe this has something to do with my css?
#img1 { left: 100%; } #img2 { left: 200%; } #img3 { left: 300%; } #img4 { left: 400%; }
-
I switched to gs and and the first scroll works perfectly, but then the scroll after that stopped working.
I have four divs with images in them and they're wrapped in another div
<div id="project1"> <div id="img1"><img id="test1" class="img-container"></div> <div id="img2"><img id="test2" class="img-container"></div> <div id="img3"><img id="test3" class="img-container"></div> <div id="img4"><img id="test4" class="img-container"></div> </div>
So basically I want to scroll to each image one by one when user clicks on the next button. and this works fine
TweenLite.to($('#project1'), .5, {scrollTo:{x:$('#img1').position().left}, ease:Expo.easeOut});
however after this, when I tried to do the same thing and scrollto #img2, instead of seeing #img2, #img1 scroll in again
TweenLite.to($('#project1'), .5, {scrollTo:{x:$('#img' + imgContainer.current_image).position().left}, ease:Expo.easeOut})
and then somehow the image would all disappear... I tried to change to scroll to a number instead but it still doesn't work. I saw carl's demo http://snorkl.tv/dev/js_demo1/scrollToDemo.html
so I'm thinking does this have something to do with the fact im using a div instead of window? thanks!
-
i see what you're getting! thanks so much!
-
Hi!
I'm wondering is it possible to use greensock easing on this plugin
http://flesler.blogspot.com/2007/10/jqueryscrollto.html
I know gs has scrollto as well, but this plugin can scroll to a specific div. But I'm using gs easing already, so I really don't want to add another easing library, is there a way to call gs easing function?
Thanks!
here's how to use that plugin
$container.scrollTo('#img1', 500, { easing:'swing' });
-
Thanks for the help!
The first one is because I changed the function name before I compressed it, haha sorry about that.
The reason I set the time to 0 is because I want it to happen right away? Then I guess I'm not really tweening
anyways, should just use colortransform.
Thanks again
-
yeah I'm using the latest version, and I tried to set overwrite to none, still doesnt work.
I've attached the files, using Tweener just for that line now, and I commented out TweenMax.
Thanks.
-
Hi,
I tried to use onUpdate and onComplete in the same tween and I realized that onComplete function is not being called
in this case, maybe it has been overwritten? If I try to do the same thing with Tweener it works, just not with TweenMax...
TweenMax.to($block, .2, { onUpdate:changeColor, onUpdateParams:[$block], onComplete:changeComplete, onCompleteParams:[$block]} );
Tweener.addTween($block, {time:.2, onUpdate:changeColor, onUpdateParams:[$block], onComplete:changeComplete, onCompleteParams:[$block]});
Anyone ran into this problem before?
Cheers,
Christine
-
great! thanks.
-
Hi,
I know I can listen to see if the individual loader inside loadermax's complete or not, but I'm
wondering if there's a variable that I can use to see if the loader's complete? like loader.isComplete = true.
or I just have to set a variable myself. Thanks.
Cheers,
-
thanks, it didnt happen to my other mc, so i think i'll just double check.
-
Hi,
I have this animated movieclip in Flash, I exported it and want to use TimelineMax to control it.
so this is what I did
var _timeline:TimelineMax = new TimelineMax(); _timeline.append(new TweenMax(_mc, 3.2, {frame:82, startAt:{frame:1}, ease:Linear.easeNone})); _timeline.pause();
the weird thing is that it doesn't play from frame 1 for some reason, it always starts around frame 25 (maybe this has something to do
with the frame rate which is 25). even _timeline.gotoAndPlay(1) cant make it play from frame 1....
also, I tried to use useFrames:true in TweenMax when I append the MC, and it doesn't work...
how to use frames for timeline? thanks.
cheers.
-
Hi,
I have this timeline animation in Flash CS4, and I'm using TweenMax to control it like this
TweenMax.to(_beam, .5, {frame:12, startAt:{frame:1}, repeat:2, ease:Linear.easeNone});
However it just doesn't look right, so I traced the currentFrame in ENTER_FRAME event and the trace looks like this
2 3 4 5 6 7 9 10 11 1 2 2 2 3 4 5
there are 12 frames in my movieclip and the frame rate is 24
see it didn't even play the 1 frame and the last frame (12), I did add
TweenMax.killTweensOf(_beam);
and it's still not working right... help! thanks.
christine
tween border color
in GSAP
Posted
ahhh it's my own fault, I was tweening something that's out of scope. sorry... and thanks again.