View Single Post
Old 02-12-2013, 12:11 PM   PM User | #1
AR123
New Coder

 
Join Date: Mar 2010
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
AR123 is an unknown quantity at this point
Problem with displaying image when no flash is available

I am trying to get an image to display if flash is switched off. the image diaplays however I seem to get weird characters sitting behind the image and a scrolling window appear with the image as well. Any ideas?

Code:
<style>
#MyFlashMovie {
background: url("xx.gif");
background-repeat: no-repeat;
height: 300px;
width: 460px;
}</style>

<div ID="MyFlashMovie">
<object type="application/x-shockwave-flash" style="height: 300px; width: 460px;" data="xx.swf" >
<param name="movie" value="xx.swf" >
<param name="allowFullScreen" value="true" >
<param name="wmode" value="transparent" >
</object>
</div>
AR123 is offline   Reply With Quote