|
|||
|
Hi,
I need to pass in the location of my xml file so I can display the proper content for the page I'm on. I see in main.as that the xml file can be specified in _root.xmlFile, and that if it's not set there, then it will load data.xml. How do I pass in _root.xmlFile ? thx, |
|
|||
|
I figured it out...
I just updated the AC_FL_RunContent to say: 'movie', 'preview?xmlFile=productData.php%3FID=ProductDataI D', and wrote the ProductDataID with how I wanted to construct the XML. Then, I just wrote a productData.php to return the XML response... For noscript, you just do <param name="movie" value="preview.swf?xmlFile=productData.php%3FID=Pr oductDataID" /> |
|
|||
|
Actually, noscript also needs:
<embed src="preview.swf?xmlFile=productData.php%3FID=Prod uctDataID" quality="high" bgcolor="#666666" width="590" height="300" name="preview" \ align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia\ .com/go/getflashplayer" /> |