hi, actually I am making a banner rotator using an external XML file which is given to the flash in HTML like this
<object>
.
.
.
<embed src="flashfile.swf?xmlFile=data.xml" ......
</object>
in FF is working well, in IE the parameter isn’t sent, becomes UNDEFINED
I don’t use any swfObject…
can somebody give me an HTML file working good with any kind of browser 
resolved the problem… sry for the post… please delete it 
How about you share what you found? When someone comes along with the same problem, he/she can see the solution 
How about you share what you found? When someone comes along with the same problem, he/she can see the solution![]()
yeah … true…
so my problem was that I wanted to add an external variable for flash
In Firefox is enough to write:
<object height="289" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="505">
<param name="movie" value="index.swf" />
<param name="quality" value="high" />
<embed type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" src="index.swf?xmlFile=data.xml" height="289" quality="high" width="505"></embed>
</object>
In IE you must add FlashVars:
<object height="289" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="505">
<param name="movie" value="index.swf" />
<param name="quality" value="high" />
<param name="FlashVars" value="xmlFile=data.xml" />
<embed type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" src="index.swf" flashvars="xmlFile=data.xml" height="289" xmlfile="data.xml" quality="high" width="505"></embed>
</object>
So if you don’t use flashvars in FF will work ok but in IE the value of the xmlFile variable will be UNDEFINED
(BTW… the xmlFile variable will be assigned on the _root level in the flash)
Do not use FlashVars.
Use the same code that you are using for FireFox. But, do just one change.
<object height="289" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="505"> <param name="movie" value="index.swf?xmlFile=data.xml" /> <param name="quality" value="high" /> <embed src="index.swf?xmlFile=data.xml" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" height="289" quality="high" width="505"></embed> </object>
The change is…
You were specifying “index.swf” at 2 places. But, you were feeding the “xmlFile=data.xml” only at one place.
I use this solution since I know flash.
I’m working on a project that’s calling for external variables. Variable 1 is a simple text phrase, variable 2 is a text block of html code, variable 3 is a link and variable 4 is a color hexcode. In that XML file you refer to, that “data.xml”, how would I set up the list of variables? And how would I call those into the AS2 project?
Thanks
~SG
