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