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

totalThumbs

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.

Properties

PropertyValue
bubblesfalse
cancelablefalse; there is no default behavior to cancel.
numThe total number of thumbnails in the current album.

Example

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

Page last modified by tdominey on May 12, 2010, at 01:54 PM
© 2011 SlideShowPro. All Rights Reserved.