Knowledge Base |
Thumbnail Slider Pro V1
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.
How to open an url in other target window than _blank, using ThumbnailSlider
Below is how an item should look like inside the XML file:
<img thumbEvents='true' thumbnail='pictures/thumbnail/01.jpg' large='pictures/large/01.jpg' description='Master and Commander - Russell Crowe' link='http://www.google.com' target='_self'/>
Inside the fla file you should use the onReleaseThumb listener to read the parameters from the XML file when a thumbnail is pressed. The actionscript should look like below:
var listEvents = new Object();
listEvents.onReleaseThumb = function(obj:Object) {
//get the url for this item
getURL(obj.link, obj.target);
};
//adding the listener
//comp is the instance name of your thumbnail slider component on stage
comp.addListener(listEvents);
The attached example is implemented using the trial version of the Thumbnail Slider component so it will work only inside your Flash IDE.
Files: galery_openUrl.zip