
Event Object Type: net.slideshowpro.thumbgrid.TGDataEvent
TGDataEvent.type property = net.slideshowpro. thumbgrid.TGDataEvent.TOTAL_THUMB_GROUPS
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 thumbnail groups that have been created. |
The following example traces the total number of thumbnail groups to the Output panel whenever new data is loaded:
import net.slideshowpro.thumbgrid.*;
function onDataEvent(event:TGDataEvent) {
trace("Total number of thumbnail groups in this album: " + event.num);
}
my_tg.addEventListener(TGDataEvent.TOTAL_THUMB_GROUPS, onDataEvent);