rhythmofrain
03-28-2005, 07:54 AM
I am using a Flash object on asp page and the asp page is reloaded with different variables on clicking on a link. The variables then sent in flash,
The problem is that on some PCs it works but on others it does not set the variables on reloaidng the page.
what can be the possible reason.
i am using this code to call the flash object
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" id="customProdReady"
width="580" height="300" align="middle">
<param name="movie" value="../flash/customProdReady.swf?id=2050&img=<%=imgFile%>&Side=<%=picSide%>" />
<embed src="../flash/customProdReady.swf?id=2050&img=<%=imgFile%>&Side=<%=picSide%>" quality="high" bgcolor="#000000"
width="580" height="300" swLiveConnect=true id="customProdReady" name="customProdReady" align="middle"
allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"
/></object>
then <%=sTextForFlash%> comes as the result of sql query
and after this the variable is sent to flash
window.document.customProdReady.SetVariable("TextData", "<%=sTextForFlash%>");
The problem is that on some PCs it works but on others it does not set the variables on reloaidng the page.
what can be the possible reason.
i am using this code to call the flash object
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" id="customProdReady"
width="580" height="300" align="middle">
<param name="movie" value="../flash/customProdReady.swf?id=2050&img=<%=imgFile%>&Side=<%=picSide%>" />
<embed src="../flash/customProdReady.swf?id=2050&img=<%=imgFile%>&Side=<%=picSide%>" quality="high" bgcolor="#000000"
width="580" height="300" swLiveConnect=true id="customProdReady" name="customProdReady" align="middle"
allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"
/></object>
then <%=sTextForFlash%> comes as the result of sql query
and after this the variable is sent to flash
window.document.customProdReady.SetVariable("TextData", "<%=sTextForFlash%>");