Knowledge Base


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

XML Slide Show V3

(views: 14606)

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

(2008-10-22 - views: 2638)

Q: Can I add a Dynamic text box with the slide description from xml, and how to do it (as)...thanks
A: Yes you can. All you have to do is to add the description parameter inside your xml file as I did <item itemEvents='true' contentPath='images/jmp01.jpg' description="this is the description for slide 1"/> , then place a dynamic textfield on stage set it's instanceName to "desc" and use the on change listener as below (this the AS3 version code for the AS2 example):

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();
}


User Comments

Loading SWF
posted by ageshi on 2008-12-12

How can I load an external SWF file in to my gallery?
Loading SWF
posted by negush on 2008-12-15

You need to specify your .swf in the .xml file.
Tried this, but no go
posted by cowboystudios on 2009-05-06

I tried to replace the code, but it's erroring out -- can you post exactly where to place the new code? Does it replace everything or just add to it? Thanks.
Open a ticket support
posted by florodebat on 2009-05-07


Open a new ticket support an write there a detailed description of your problem and shortly you will get an answer to your problem. Please click the link below in order to open a new support ticket:

http://www.jumpeyecomponents.com/support/open.php

Adding description for each slide
posted by radiii on 2009-08-11

I have tried to complete what has been posted for this. The code does not work. Could you please give a AS3 file like you did for the AS2 version so that i can get this up and running. I need this to finish a website.

Cheers
Adding description for each slide
posted by florodebat on 2009-08-13


I have tested the sample code above and it works fine for me. Please make sure that the "descr" textField exists on the stage. If this information does not helped you please open a new support ticket and write there about that issue and shortly someone will get back to you.

http://www.jumpeyecomponents.com/support/open.php



Login to post your comment login to post your comment



Back

Knowledge Base Search

Enter keywords below:
Advanced Search
FlashEff 2.0
Create professional flash photo slideshows online

FREE Flash Stuff

Check out these free, fully functional AS3.0 Flash components by Jumpeye:

FlashEff 2.0 Free
(free for non-commercial use)

JC Panorama
(free for non-commercial use)

JC Play List
(fully free)

Basic Menu Pack V3
(free AS3 version)

MCTE V3
(free AS3 version)

JC Player
(free for non-commercial use)

JC Flash Map
(free for non-commercial use)

Flash Bookmarks
(fully free)

ActionScript Bridge AS2-AS3
(fully free)

JS Charts
(free for non-commercial use)

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