
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.
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.
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");
}