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

displayAlbum()

public function displayAlbum(id:String):void

ThumbGrid Version: ThumbGrid 2
Language Version: ActionScript 3.0
Player Version: Flash Player 9.0.0.0

Displays the Album screen for a particular album. See Layout for an overview of the Gallery and Album screens.

Parameters

id — The id of the album you want to display. This value is published in the XML feed published by SlideShowPro Director (sign-in to it, edit an album, look for the ID near its title). You can also assign id to your own XML file as an attribute of the <album> element.

Example

In this example, a button on the stage with an instance name of "my_btn" requests an album by its id:

my_btn.addEventListener("click",afterClick);

function afterClick(e:MouseEvent):void {
   my_tg.displayAlbum("album-1");
}

Page last modified by tdominey on June 12, 2010, at 05:57 AM
© 2011 SlideShowPro. All Rights Reserved.