Animate anything within Flash


Usage and Code Samples for Thumbnail Slider Flash Component




Thumbnail Slider Usage and Code Samples

First you have to instal the mxp file that you received and then close Flash and open it again to refresh the Component panel or just press Ctrl+F7 and press the reload button. With the ThumbnailSlider component in your Components list drag it onto the Stage.

You should have the Component Inspector(Alt+F7) or the Properties panel opened and the ThumbnailSlider selected in order to set the xmlPath parameter. You can also use the actionscrip to add the component on stage like below.

_root.attachMovie("ThumbnailSlider", "slider", _root.getNextHighestDepth());
with (_root.slider)
{
arrowsControl = "click";
border = true;
borderSize = 5;
baseUrl = "";
borderCornerRadius = 5;
tweeningSpeed = 10;
easeType = "Strong";
builtInPreloader = "bar";
preloaderColor = "0x000000";
borderColor = "0xFFFFFF";
orientation = "horizontal";
effectTimeIn = 10;
effectTimeOut = 10;
effectAmount = 50;
rollOverEffect = "colorLight";
reverseRollOverEffect = false;
spacing = 6;
xmlPath = "dataXML.xml";
resizeType = "resize";
thumbWidth = 80;
thumbHeight = 60;
}
_root.slider.setSize(600,60);

var listEvents:Object=new Object();
listEvents.onLoadComplete = function(loaded) {
if (loaded) {
_root.slider.startSlideshow(5)
}
};
listEvents.onReleaseThumb = function(obj:Object, arg, index) {
_root.ldr.contentPath = obj.large;
_root.description.text = obj.description;
};
slider.addListener(listEvents)

Free Trial Versions

The trial versions do have a major limitation. They will ONLY run into debugger flash player versions, such as the Flash IDE player and the activeX FP used by developers.

Switch from Free Trial version to Full version.

You can switch from Trial to Full versions in a blink of an eye.
See this tutorial in order to find out how.

We accept Google Checkout

Google Checkout Acceptance Mark

Secured by VeriSign