Advanced Flash Components
Search!
Search!
Home >  Knowledge Base >  IMG Thumbnail Gallery >  How to set path to a XML file...
How to set path to a XML file dynamically with FlashVars?
Date: Sep 6, 2007   Views: 2029  
Question:
How to I set XML path through HTML?
Answer:

andreit (Admin)
In order to set the path to a XML file dynamically you can use FlashVars or SWFObject. Here is the FlashVars examples:

In Flash

myGallery.contentXML = xmlPath;


In HTML Embed code

< param name="FlashVars" value="xmlPath=file.xml" />
.....
<embed flashvars="xmlPath=file.xml" ...>