AFComponents.com

How to set path to a XML file dynamically with FlashVars?
Date: Sep 6, 2007   Views: 4595  
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" ...>


© 2005-2007 advanced flash components