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: 13167)

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: 3297)
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);


User Comments

Add Wesite Link
posted by colleen93 on 2008-03-13
Is there a way to add a link or button to the website of a photo after the photo has loaded from the thumbnail to the large loader?
Add Wesite Link
posted by colleen93 on 2008-03-13
Is there a way to add a link or button to the website of a photo after the photo has loaded from the thumbnail to the large loader?
Displaying image description on RollOver - RoolOut
posted by jrsilva on 2008-06-17
I've modified the action script for the description area to display the text on RollOver instead of on Release, but it keeps showing the text until you rollover the mouse on other thumbnail. This way it may show a description that does not correspond to the image showing on the container (the last one clicked).

1. Is there a way to the text description disapear on RoolOut?
2. Is it possible to have the discription text displaying above each corresponding thumbnail?

My Action script knowledge are very weak.

Thank you
Displaying image description on RollOver - RoolOut
posted by negush on 2008-06-18
On the onRollOutThumb event simply make the text field invisible or delete the text inside it.
Displaying image description on RollOver
posted by jrsilva on 2008-06-18
Thank you.

I'm going to try.
I don't know if you get it right: I want to have the text description, but Only when the mouse is over the thumbnail.

Is it possible to have the discription text displaying only above each corresponding thumbnail?
Displaying image description on RollOver
posted by negush on 2008-06-19
All you need to do is display some text field or a movie clip with text while the mouse hovers over a thumbnail and hide it when it rolls off of the thumbnail. Use the position of the mouse pointer to place the description.


Login to post your comment login to post your comment

Back