Knowledge Base |
Important! All new questions are usually answered within the next business day.
XML Slide Show V3
(views: 5897)
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.
Dynamically Add a XML string
(2008-09-19 - views: 440)
Q: How do I dynamically load the XML from a string .. not from an XML file?
A: You need to use the setXML() method of the component, which must receive a parameter of type XML. You can create that XML object based on the string you have. For more information please consult the component's help pages: http://www.jumpeyecomponents.com/Flash-Components/Various/XML-Slide-Show-V3-39/methods.htm.
User Comments
This is not clear
You need to pass a XML object to the method and not the name of a .xml file. If you want to use an external .xml file, just set the name of the file to the xmlPath property.
posted by negush on 2008-10-02
You need to pass a XML object to the method and not the name of a .xml file. If you want to use an external .xml file, just set the name of the file to the xmlPath property.
XML path
Can the XML path be loaded dynamically? I'm having caching issues. The component is reading in old/cached xml files. I'd like to pass it the xml path dynamically so I can append the xml path with some parameters to get it to look for a new xml file. Any help would be appreciated.
posted by jphillips on 2008-10-17
Can the XML path be loaded dynamically? I'm having caching issues. The component is reading in old/cached xml files. I'd like to pass it the xml path dynamically so I can append the xml path with some parameters to get it to look for a new xml file. Any help would be appreciated.
Dynamic XML
I understand that I can set the xml file through the xmlPath property. however I want to know how I can avoid having to open the fla everytime to change the path. I want to load the xml via Flash Vars.
Can you explain clearly how to do this? The directions in the manual are not clear to me. Thank you.
posted by rayzdabar on 2008-10-17
I understand that I can set the xml file through the xmlPath property. however I want to know how I can avoid having to open the fla everytime to change the path. I want to load the xml via Flash Vars.
Can you explain clearly how to do this? The directions in the manual are not clear to me. Thank you.
Dynamic XML
Just set the path to the xml file with FlashVars (you need to specify a parameter name) and then in AS2 you can call that parameter directly from the _root object.
posted by negush on 2008-10-20
Just set the path to the xml file with FlashVars (you need to specify a parameter name) and then in AS2 you can call that parameter directly from the _root object.
Dynamic XML
Just set the path to the xml file with FlashVars (you need to specify a parameter name) and then in AS2 you can call that parameter directly from the _root object.
posted by negush on 2008-10-20
Just set the path to the xml file with FlashVars (you need to specify a parameter name) and then in AS2 you can call that parameter directly from the _root object.
Dynamic XML
Is it possible for you to show me the as2 example you are talking about. This is what I"m using now
componentInstance.setXML(myXML);
Is this right on the timeline for the component?
This is what I'm using for Flash param
("FlashVars", "myXML=ssgallery.xml")
Is this right?
I'm not trying to be a pain, I'm trying to understand how to pass flashvars with your component. Thanks.
posted by rayzdabar on 2008-10-20
Is it possible for you to show me the as2 example you are talking about. This is what I"m using now
componentInstance.setXML(myXML);
Is this right on the timeline for the component?
This is what I'm using for Flash param
("FlashVars", "myXML=ssgallery.xml")
Is this right?
I'm not trying to be a pain, I'm trying to understand how to pass flashvars with your component. Thanks.
Dynamic XML
No, that is not correct. The setXML() method is used to set the XML data for the component and NOT the .xml file. If you want to set the .xml file, then use the xmlPath property:
componentInstance.xmlPath = myXML;
posted by negush on 2008-10-21
No, that is not correct. The setXML() method is used to set the XML data for the component and NOT the .xml file. If you want to set the .xml file, then use the xmlPath property:
componentInstance.xmlPath = myXML;
Login to post your comment
Other questions in this item:
Create a fancy fullscreen gallery with XML Slide Show Slide images from left to right Adding description for each slide No Continuous Scroll Show description on image roll over slideTo example Description moving with slides No Hand Cursor Add URLs to images Adding description for each slideMenu |
|
|

componentInstance.setXML(myXML); on the component.
However when I try to call my XML dynamically using FlashVars Value="myXML=ssgallery.xml"
It doesn't work. What am I missing?