Knowledge Base |
XML Slide Show V3
A sliding-fashion XML Slide Show flash component, both vertical and horizontal sliding transitions between slides. Supports auto slide and fast forward; it uses Loader Pro V3 to load slides. Here are all known issues for XML Slide Show V3. If you have any questions that you think we should discuss here please let us know.
Adding description for each slide
import com.jumpeye.Events.XmlSlideShowEvents;
componentInstance.addEventListener(XmlSlideShowEvents.CHANGE, changeHandler);
function changeHandler(evtObj:XmlSlideShowEvents):void {
descr.text = evtObj.item.description;
}
backBt.addEventListener(MouseEvent.CLICK, showPrevImage);
playBt.addEventListener(MouseEvent.CLICK, playSlideShow);
stopBt.addEventListener(MouseEvent.CLICK, stopSlideShow);
nextBt.addEventListener(MouseEvent.CLICK, showNextImage);
function showPrevImage(evtObj:MouseEvent):void {
componentInstance.previousImage();
}
function playSlideShow(evtObj:MouseEvent):void {
componentInstance.startSlideShow();
}
function stopSlideShow(evtObj:MouseEvent):void {
componentInstance.stopSlideShow();
}
function showNextImage(evtObj:MouseEvent):void {
componentInstance.nextImage();
}