FORUM

XML Banner Rotator 0 ( & Slideshow ) AS2

Home / Forum / Components Discussions / XML Banner Rotator 0 ( & Slideshow ) AS2

  • 5 Stars; superb work, author! This is exactly the type of bare bones file I needed to save me tons of work up front on my xml slideshow projects.


    #  /  posted on Feb 15, 2010
  • Hi there, it’s me again.
    I was wondering if there is an easy way to make the banner pause on mouseover and then resume on mouse out?


    I tried variations of this code in various movie clips within the banner but no luck:


    this.imageBox.onRollOver = function ()
    { this.stop();
    }


    this.imageBox.onRollOut = function ()
    { this.play();
    }


    #  /  posted on Mar 17, 2010
  • You need to make other code changes if you want to play / pause on toll over / roll out. Try this:


    1. Edit the imageBox clip / go to the ReadMe layer
    2. Look for addRollOverHandler and inside add this code line: menu.setPauseState(menu.autoPlayBtn);
    3. Look for addRollOutHandler and inside add this code line: menu.setPlayState(menu.autoPlayBtn);


    #  /  posted on Mar 18, 2010

Please login to post replies.