Can not control the 3D Flow gallery with behavior in IE
Question:
When I apply the Control 3D Flow Gallery behavior to an element of my page, it works finein Firefox but not in IE
Answer:
The "Control 3D Flow Gallery" behavior make usage of Flash External Interface which is very picky in IE. To make it work you need to have an ID on the object tag as well the name shouldn't start with a number. Also if the gallery is embedded in a form, an extra script is needed (market with Green)
So to make it work change this:
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0',
'width','700','height','350','id','3DFlowGallery20',
'src','../imageflowgallery/3DFlowGallery','quality','best','name','3DFlowGallery20',
'pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash',
'wmode','transparent','flashvars','xmlFile=../imageflowgallery/3DFlowGallery20.xml',
'movie','../imageflowgallery/3DFlowGallery' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="700" height="350" name="3DFlowGallery20">
<param name="movie" value="../imageflowgallery/3DFlowGallery.swf" />
<param name="wmode" value="transparent" />
<param name="FlashVars" value="xmlFile=../imageflowgallery/3DFlowGallery20.xml" />
<param name="quality" value="best" />
<embed src="../imageflowgallery/3DFlowGallery.swf" quality="best" name="3DFlowGallery20" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="700" height="350" wmode="transparent" flashvars="xmlFile=../imageflowgallery/3DFlowGallery20.xml"></embed>
</object></noscript>
</p>
<p>
<input name="button" type="submit" id="button" onclick="dmx3DFlowGalleryAction('3DFlowGallery20','next')" value="Next" />
to:
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0',
'width','700','height','350','id','fl_3DFlowGallery20','src','../imageflowgallery/3DFlowGallery',
'quality','best','name','fl_3DFlowGallery20','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash',
'wmode','transparent','flashvars','xmlFile=../imageflowgallery/3DFlowGallery20.xml',
'movie','../imageflowgallery/3DFlowGallery' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="700" height="350" id="fl_3DFlowGallery20">
<param name="movie" value="../imageflowgallery/3DFlowGallery.swf" />
<param name="wmode" value="transparent" />
<param name="FlashVars" value="xmlFile=../imageflowgallery/3DFlowGallery20.xml" />
<param name="quality" value="best" />
<embed src="../imageflowgallery/3DFlowGallery.swf" quality="best" name="fl_3DFlowGallery20" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="700" height="350" wmode="transparent" flashvars="xmlFile=../imageflowgallery/3DFlowGallery20.xml"></embed>
</object></noscript>
<script>window.
fl_3DFlowGallery20 =
document.getElementById("
fl_3DFlowGallery20");</script>
</p>
<p>
<input name="button" type="submit" id="button" onclick="dmx3DFlowGalleryAction('fl_3DFlowGallery20','next')" value="Next" />
</p>
Comments
Be the first to write a comment
You must me logged in to write a comment.