
Event Object Type: net.slideshowpro.thumbgrid.TGDataEvent
TGDataEvent.type property = net.slideshowpro. thumbgrid.TGDataEvent.TOTAL_THUMBS
ThumbGrid Version: ThumbGrid 1 and 2
Language Version: ActionScript 3.0
Player Version: Flash Player 9.0.0.0
Dispatched every time new album data is received.
| Property | Value |
|---|---|
| bubbles | false |
| cancelable | false; there is no default behavior to cancel. |
| num | The total number of thumbnails in the current album. |
The following example traces the total number of thumbnails in the current album to the Output panel whenever new data is loaded:
import net.slideshowpro.thumbgrid.*;
function onDataEvent(event:TGDataEvent) {
trace("Total number of thumbnails in this album: " + event.num);
}
my_tg.addEventListener(TGDataEvent.TOTAL_THUMBS, onDataEvent);