开发者

When using swfobject, swf file ignores z-index

I have this issue where if I append a swf file using SWFObject, it ignores my css rules for z-index. I have tried to set the parent container, the swf file, and everything around it; nothing seems to work for me.开发者_高级运维 Has anyone ran into this issue and could give me some helpful advice?

Thanks, Kyle


Make sure your using "transparent" wmode.

var params = {};
params.wmode = "transparent"; 
swfobject.embedSWF("file.swf", "id_name", "100", "100", "10.0.0",false,false,params);


Z-index is ignored by Flash Player, you can't control it. Here's a quick overview with examples.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜