/ Published in: HTML
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
1. Wrap your flash content in a div 2. Add <param name="wmode" value="transparent"> to your object tag 3. Set wmode="transparent" in the embed tag 4. Use css to set the position and z-index for your div (don't set negative z-index values as it will make your flash disappear) :c: #flash { position: relative; /*or absolute*/ z-index: 0; } :x: <div id="flash"> <object .... > <param name="wmode" value="transparent"> <embed .... wmode="transparent"> </object> </div> And that�s it!
URL: http://manisheriar.com/blog/flash_objects_and_z_index