Class template.Gallery

Description

This class implements the functionality of the gallery. It encapsulates the XML Image Gallery.

The following events are dispatched by this class:

DisplayObjectInit - dispatched when the gallery's init function is done executing.

DisplayObjectEnter - dispatched when the gallery's enter function is done executing.

DisplayObjectExit - dispatched afer the exit function of the gallery is done executing.

Field Index

xmlFile

Inherited from DisplayObject

Method Index

new Gallery()
enter(), exit(), init(), main()

Inherited from DisplayObject

Constructor Detail

Gallery

public function Gallery()

Field Detail

xmlFile

public xmlFile:String [Write Only]
Use this property to set the xml file of the gallery.

Method Detail

main

static public function main(target:MovieClip)

Use this method to register a movieclip as this class

Parameters

target- the movieclip to be registered

init

public function init()

Method used to initialize all the variables, functionality, etc.

enter

public function enter()

Call this function to make the gallery appear.

exit

public function exit()

Call this function for the exit transition of the gallery.