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
posted by rayzdabar on 2008-10-01

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?
This is not clear
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
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
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
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
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
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
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 login to post your comment



Back

Knowledge Base Search

Enter keywords bellow:
Advanced Search

Menu

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