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

loadThumb()

public function loadThumb(num:Number):void

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

Requests the slideshow image associated with the num parameter in the :stapi: component, and makes the associated thumbnail in ThumbGrid active.

Parameters

num — The thumb number to load. Minimum value is 0, while the maximum is the total number of images in the current album (minus 1 to accommodate for zero-index). Values higher than the maximum are ignored.

Example

In this example, a button on the stage with an instance name of "my_btn" requests that the 10th thumbnail loads:

my_btn.addEventListener("click",afterClick);

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


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