Jump to content
Search Community

aaronmaxdesign

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by aaronmaxdesign

  1. 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");
    }

    • Like 1
  2. 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?

     

×
×
  • Create New...