Knowledge Base |
Important! All new questions are usually answered within the next business day.
XML Slide Show V3
(views: 4022)
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
(2007-10-01 - views: 1562)
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:
myEventListener = new Object();
myEventListener.change = function(args){
descr.text = args.item.description;
}
Attached are the example files.
Files: descriptionText.zip
myEventListener = new Object();
myEventListener.change = function(args){
descr.text = args.item.description;
}
Attached are the example files.
Files: descriptionText.zip
User Comments
very simple
Inside the xml file add another parameter for the image title as below:
(I've used the files attached to this item...so you can edit the example files provided for this item)
<item itemEvents='true' contentPath='images/jmp01.jpg' description="this is the description for slide 1" imageTitle="this is the image title"/>
Inside the fla file you must add another dynamic textfield for image's title, set an instance name for it let's say "imgTitle" and the actionscript should look like below:
myEventListener = new Object();
myEventListener.change = function(args){
descr.text = args.item.description;
imgTitle.text=args.item.imageTitle
}
It very intuitive if you already have the example files available for this item.
posted by jumpeyecomponents
on 2008-01-26
Inside the xml file add another parameter for the image title as below:
(I've used the files attached to this item...so you can edit the example files provided for this item)
<item itemEvents='true' contentPath='images/jmp01.jpg' description="this is the description for slide 1" imageTitle="this is the image title"/>
Inside the fla file you must add another dynamic textfield for image's title, set an instance name for it let's say "imgTitle" and the actionscript should look like below:
myEventListener = new Object();
myEventListener.change = function(args){
descr.text = args.item.description;
imgTitle.text=args.item.imageTitle
}
It very intuitive if you already have the example files available for this item.
Description moving with images
Hi
nice tool.
I'm curious if the component can also move the descriptions along with the images when sliding.
I hope is clear what i ask :)
I mean if scrolling is setup automatic, every image moves with it's descriptions, from right to left.
Thanks
posted by jumpin on 2008-01-28
Hi
nice tool.
I'm curious if the component can also move the descriptions along with the images when sliding.
I hope is clear what i ask :)
I mean if scrolling is setup automatic, every image moves with it's descriptions, from right to left.
Thanks
See the knowledge base item
I've posted an item in the Knowledge base to show you how to add the description inside the slides so they will move together:
http://www.jumpeyecomponents.com/knowledgebase/XML-Slide-Show-V3/Description-moving-with-slides~310/
posted by negush on 2008-01-28
I've posted an item in the Knowledge base to show you how to add the description inside the slides so they will move together:
http://www.jumpeyecomponents.com/knowledgebase/XML-Slide-Show-V3/Description-moving-with-slides~310/
Second textfield and positionning
Hi, thanx for this tutorial but how do I add a second textfield and how can I position them on the stage?
TIA
posted by belzebia on 2008-05-14
Hi, thanx for this tutorial but how do I add a second textfield and how can I position them on the stage?
TIA
Second textfield and positionning
The second text field should be added the same way as the first one, via ActionScript code.
posted by negush on 2008-05-16
The second text field should be added the same way as the first one, via ActionScript code.
Second textfield and positionning
Thank you :) So you say I can buy this and will be able to add and position extra textfield very easy right? I'm not a geek in AS but I hope it won't be difficult to customize. Thanx
posted by belzebia on 2008-05-16
Thank you :) So you say I can buy this and will be able to add and position extra textfield very easy right? I'm not a geek in AS but I hope it won't be difficult to customize. Thanx
Login to post your comment
Menu |
|
|


Hi...what info needs to be changed in order to load more than one? Like,
image title:
image description:
Thanks!
sweet