Developer forum

Forum » Templates » .swf file with xml

.swf file with xml

Steffen Mortensen
Reply
 Hi.
 
Im having a problem with passing an xml url to my swf file, I get the swf but not the xml-data. It seems like the url to the xml somehow changes to the root url. I get this error: 
 
http://www.nilan.dk/map.xml?nocache=1321265835080 Failed to load resource: the server responded with a status of 404 (Not Found)
 
Even though i gave this path:
/Files/Templates/Dealersearch/map.swf?xml_source=/Files/Templates/Dealersearch/map.xml
 
This is my source: 
<object width="700" height="600" id="flash-map" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
<param value="/Files/Templates/Dealersearch/map.swf?xml_source=/Files/Templates/Dealersearch/map.xml" name="movie" />
<param value="high" name="quality" />
<param value="#fff" name="bgcolor" />
<param value="sameDomain" name="allowScriptAccess" />  
<embed width="700" height="600" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" swliveconnect="true" allowscriptaccess="sameDomain" name="slideshow" bgcolor="#fff" quality="high" src="/Files/Templates/Dealersearch/map.swf?xml_source=/Files/Templates/Dealersearch/map.xml"></embed> 
 </object>

Hope you can help me :)
 
Thanks

Replies

 

You must be logged in to post in the forum