开发者

Flash embed code works except in Internet Explorer

开发者 https://www.devze.com 2023-01-10 14:26 出处:网络
Flash ain\'t my thing. What am I missing? I\'m getting these boxes in Internet Explorer. <object width="100" hei开发者_如何学Goght="65">

Flash ain't my thing. What am I missing? I'm getting these boxes in Internet Explorer.

<object width="100" hei开发者_如何学Goght="65"  >
<param name="wmode" value="<?php echo $entry_user_fish;?>">
<embed src="<?php echo $entry_user_fish;?>" width="100" height="65" wmode="transparent" >   </embed>
</object>

Flash embed code works except in Internet Explorer

Edit: A little more Info: The php values to to a SWF which works in every browser but IE. IE/ flash says 'movie not loaded on each flash object and the progress bar says 14 items remaining, so its not downloading them correctly. The white boxes are flash objects.


1). Use SWFObject to do embedding, otherwise you will drive yourself absolutely bonkers.

2). wmode="transparent" is the devil - only use it if you really, REALLY need to. It kills performance, doesn't play nice with the rest of the page, and generally angers your users. Use "window" or "opaque" if you can get away with it.

3). This line looks wrong:

<param name="wmode" value="<?php echo $entry_user_fish;?>">

Probably don't want to be setting it to the user's fish name.

4). Or the problem might be here:

<embed src="<?php echo $entry_user_fish;?>"

Hard to know without knowing what those PHP directives evaluate to, but unless $entry_user_fish is "something.swf" it's not going to work.


I figured it out. I needed to use:

<param name="wmode" value="transparent"> 
<param name="movie" value="moviename.swf"> 
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号