
Event Object Type: net.slideshowpro.thumbgrid.TGScreenEvent
TGThumbEvent.type property = net.slideshowpro. thumbgrid.TGScreenEvent.SCREEN
ThumbGrid Version: ThumbGrid 2
Language Version: ActionScript 3.0
Player Version: Flash Player 9.0.0.0
Dispatched when ThumbGrid displays either the Album or Gallery screen.
| Property | Value |
|---|---|
| bubbles | false |
| cancelable | false; there is no default behavior to cancel. |
| id | String.The id of the album when showing the album screen. Returns null for the gallery screen. |
| content | String. Contains "Album" or "Gallery" depending on which screen is in view. |
| title | String. The title of the album or gallery in the loaded screen. |
| description | String. The description of the album or gallery in the loaded screen. |
The following example traces which screen is currently in view:
import net.slideshowpro.thumbgrid.*;
my_tg.addEventListener(TGScreenEvent.SCREEN,afterScreenEvent,false,0,true);
function afterScreenEvent(e:TGScreenEvent):void {
trace(e.content,e.id,e.title,e.description);
}