aaronmaxdesign
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by aaronmaxdesign
-
-
Sorry I've been MIA on this. Been slammed. I will try the above suggestions and let you what worked. I really appreciate the feedback.
-
As nice as your samples are what I'm trying to do is have the isi auto scroll on it's own and pause when there is a mouse over. also the isi need to animate up from the bottom mid way through the banner animation.
-
yeah. I was using the scrollto function for the isi but couldn't get it to pause. used gsap.pauseall() that worked in the past but is no longer taking.
The banners that I'm working with have links in the isi so I still have to keep it HTML. I wish I could just do an image. Do you happen for have some source files I can take a look at? -
Has anyone made pharma Banners with adobe animate using gsap to control the isi scroller?
Gsap Animate CC Pharma banner with ISI
in Banner Animation
Posted
ok so I got it to work
First frame
var i=1;
this.box.addEventListener("click", fl_MouseClickHandler.bind(this));
function fl_MouseClickHandler()
{
Enabler.exit('Background Exit');
}
Last frame
this.stop();
isiStart();
function isiStart() {
for(var i=1; i<1000; i++) {
TweenMax.to("#container",220, {scrollTo:{y:i},});
}
}
window.$holder.addEventListener("mouseover", stopScroll);
function stopScroll() {
TweenMax.pauseAll();
console.log("over");
}
window.$holder.addEventListener("mouseout", startScroll);
function startScroll() {
isiStart();
console.log("out");
}