Visit SlideShowPro.net  Community Forums
SlideShowPro Support Wiki
  

Back
Products

ThumbGrid


Using ThumbGrid without Director

Additional support

  1. Community forums
  2. Email support staff

Company

  1. Products
  2. About SlideShowPro
  3. News
  4. Follow SlideShowPro on Twitter
ThumbGrid

nextThumb()

public function nextThumb():void

ThumbGrid Version: ThumbGrid 1 and 2
Language Version: ActionScript 3.0
Player Version: Flash Player 9.0.0.0

Loads the thumbnail after the one that's currently active. The method will loop back and load the first thumbnail if thumbLoop is set to "On", or stop (and ignore the request) if set to "Off," if the currently active thumbnail is the final one.

Example

In this example, a button on the stage with an instance name of "my_btn" requests the next thumbnail in ThumbGrid:

my_btn.addEventListener("click",afterClick);

function afterClick(e:MouseEvent):void {
   my_tg.nextThumb();
}

Page last modified by tdominey on June 12, 2010, at 06:01 AM
© 2011 SlideShowPro. All Rights Reserved.