My account
Shopping cart
Knowledge base
Support

Knowledge Base

Important! All new questions are usually answered within the next business day.

Thumbnail Slider Pro V1

(views: 21007)

Thumbnail Slider is a navigation component that enables you to load a set of images,swf's or symbols from library,fed from an xml file ,through which you can scroll with the help of the arrows,or simply depending on the mouse position. Here are all known issues for Thumbnail Slider Pro V1. If you have any questions that you think we should discuss here please let us know.



Text Descriptions

(2008-03-06 - views: 8949)
Q: Is there a way to add text descriptions on rollover, which loads from the xml?
A: The descriptions can be added to the component through the xml file, with the description attribute:
<img thumbEvents="true" thumbnail="pictures/thumbnail/01.jpg" large="pictures/large/01.jpg" description="The description for the current image" />

For more information on the xml file, you can consult the component's documentation file.

You can access the description as a property of the current thumbnail. For example, when you click on a thumbnail a mouse event is generated (onReleaseThumb) which gives you access to the thumbnail that dispatched the event:

var listener:Object = new Object();

listener.onReleaseThumb = function(obj:Object, thumbnail:String, index:Number):Void {
    var largeImagePath:String = obj.large;
    var imageDescription:String = obj.description;
};

sliderInstance.addListener(listener);


Back