My account
Shopping cart
Knowledge base
Support


JC Thumb Viewer - Methods



Overview | Properties | Methods | Events | XML | ActionScript 3.0 usage | User Manual

Method Description
addItem Adds a new item to the end of the list.

Parameters
- item:Object - the item that will be added to the list. The object passed as parameter should contain at least the URL of the external image of SWF file or the class name (linkage id) of the clip from the library as value of the property source.
addItemAt Adds a new item to the list, in the position specified by the index parameter.

Parameters
- item:Object - the item that will be added to the list. The object passed as parameter should contain at least the URL of the external image of SWF file or the class name (linkage id) of the clip from the library as value of the property source.
- index:int - the index in the list where the item will be added. If index is less than 0, the new item will be added at the beginning. If index is greater than the total number of items, the new item will be added to the end of the list.
clearSelection Deselects the currently selected item.
getItemAt Returns the item found at the index specified as parameter.

Parameters
- index:int - the position of the item in the list

Returns
- ScrollerItemModel - a reference to the item object found at the specified index or undefined if the item doesn't exist. For more information about the properties of the ScrollerItemModel class please see the section called Class ScrollerItemModel.
getXmlSource Returns the XML object corresponding to the source of the items list.

Returns
- XML - the source XML object containing the list of items and their properties.
next Selects the next item from the list. If the item is not visible, the list will be scrolled.
previous Selects the previous item from the list. If the item is not visible, the list will be scrolled.
removeAll Removes all the thumbnails from the list.
removeItem Removes the specified item from the list.

Parameters
- item:ScrollItemModel - the item that will be removed from the list. You can get a reference to a ScrollItemModel object by calling the getItemAt() method.
removeItemAt Removes the item having the index specified as parameter.

Parameters
- index:int - the position in the list where the item will be removed from.
setSize Sets the size for the thumbnail scroller component instance.

Parameters
- width:Number - the new width of the scroller component
- height:Number - the new height of the scroller component

Overview | Properties | Methods | Events | XML | ActionScript 3.0 usage | User Manual

Thumbnail navigation component with scroller and dock views. The pack contains the .mxp install file, the documentation files and the sample files.
Thumbnail scroller and thumbnail dock views
Button mode effects (powered by FlashEff 2.0)
Filters (powered by FlashEff 2.0)
API for code manipulation
FlashEff-like configuration panel utility