Class imagegal.Thumb

Description

This class fomrs the basic thumbnail of the thumblist. It has the holders for 'before' image thumb, 'after' image thumb, the grey arrow, the green arrow, rollover overlay, etc.he following events are dispatched by this class:

ThumbClicked - dispatched when the a thumb is clicked. The loadObj property of the event object has all the datails required to load the right image when a thumbnails is clicked. The 'before' image is retrieved as loadObj.bimg and the 'after' as loadObj.aimg.

Field Index

imgInfo, imgPath, imgTitle, initObj

Method Index

new Thumb()
addEventListener(), loadThumb(), removeEventListener()

Constructor Detail

Thumb

public function Thumb()

Field Detail

initObj

public initObj:Object

imgPath

public imgPath:String [Read Only]
Use this property to get the path of the image that should be loaded when the thumbnail is clicked.

imgTitle

public imgTitle:String [Read Only]

imgInfo

public imgInfo:String [Read Only]

Method Detail

loadThumb

public function loadThumb()

Use this function to load the thumbnail into the thumbnail. This function was used in the gallery to implement a sequential loading for the thumbnails.

addEventListener

public function addEventListener()

removeEventListener

public function removeEventListener()