This is the thumb list class for the gallery. It actually forms the content_mc movieclip of VerticalScrollBox class used in this file. The scrollbox helps to scroll through the thumbnails items.
The 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.
ThumbListInit - dispatched afer the initialization of the list
new ThumbList()public isActive:Booleanpublic thumbWidth:Number [Read Only]public thumbGap:Number [Read Only]public thumbHeight:Number [Read Only]public colNum:Number [Read Only]public totalThumbs:Number [Read Only]public function loadXML(path:String)Use this method to load gallery XML file.
path | - path of the XML file |
public function registerListener(mc:MovieClip)Use this method to register any movieclip as a listener to this class' events
mc | - the movieclip that is to be registered |