optikalefx Posted February 14, 2008 Share Posted February 14, 2008 i created a div overlay over the entire screen <div style="width:100%;height:100%;position:absolute;top:0;left:0;background-color:black;z-index:999999"></div> but when i put an opacity on it, say opacity:0.8; it doesnt work with embeds. as in, the embeds (like flash) are still on top of the div. even though when there is no opacity its covered. why would opacity not work on embeds? Only in firefox that is. it works in safari. i tried all 3 types of opacity the filter="alpha(opacity thing and moz-opacity, any ideas? Quote Link to comment Share on other sites More sharing options...
rhodesa Posted February 14, 2008 Share Posted February 14, 2008 I've run into this same problem. You need to set the 'wmode' attribute to 'opaque' on your flash items Quote Link to comment Share on other sites More sharing options...
optikalefx Posted February 14, 2008 Author Share Posted February 14, 2008 it didnt work check it out in firefox www.4tenonline.com/flash.htm you can see the code, maybe i did something wrong Quote Link to comment Share on other sites More sharing options...
phpQuestioner Posted February 14, 2008 Share Posted February 14, 2008 Set a wmode parameter for the object and the embed; like so; <object> <param name="wmode" value="transparent"> <embed wmode="transparent"></embed> </object> Of course you will have to add all the rest of the object's/embed's parameters, code type and so on............ Quote Link to comment Share on other sites More sharing options...
optikalefx Posted February 14, 2008 Author Share Posted February 14, 2008 that just deleted the flash from the page all together? Quote Link to comment Share on other sites More sharing options...
phpQuestioner Posted February 14, 2008 Share Posted February 14, 2008 It's does not delete it; if you have a layer in your flash movie, you will be able to see whatever is on the layer (shapes,text,bgcolor, and etc). Quote Link to comment Share on other sites More sharing options...
optikalefx Posted February 15, 2008 Author Share Posted February 15, 2008 ok it doenst work in mac firefox its gone, but it works in windows firefox? Quote Link to comment Share on other sites More sharing options...
phpQuestioner Posted February 15, 2008 Share Posted February 15, 2008 Do you have content in the flash movie? Is your application type correct? You should not be having this issue if the object and the embed is setup correctly. Quote Link to comment Share on other sites More sharing options...
optikalefx Posted February 17, 2008 Author Share Posted February 17, 2008 im serious go look a the page, see for yourself. i have link on here www.4tenonline.com/flash.htm the flash works fine, but when i apply the transparency in mac firefox its gone, but in windows firefox and mac/windows safari its fine Quote Link to comment Share on other sites More sharing options...
phpQuestioner Posted February 17, 2008 Share Posted February 17, 2008 I think there is an article on Adobe about this issue and I cannot not view the issue for myself; I don't have Mac - I am a PC guy. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.