Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

overlay html over flash? [duplicate]

Possible Duplicate:
Div Z-Index issue with Flash movie

Is it possible to overlay a piece of html over a flash animation given this context: -flash contents underneath is NOT clickable -html will contain js link clicking which will open an iframe popup similar to: http://www.dynamic-tools.net/toolbox/popUp/

thanks!

like image 929
nikita tovstoles Avatar asked Oct 14 '09 16:10

nikita tovstoles


1 Answers

It is not standards-compliant, but try adding wmode="transparent" to the embed tag as follows:

<object> 
    <!-- ... -->
    <param name="wmode" value="transparent"/> 
    <embed src="flash_file.swf" wmode="transparent"></embed> 
    <!-- ... -->
</object>

With these parameters set, the flash movie should obey CSS z-index settings.

like image 81
Michael Koval Avatar answered Sep 25 '22 10:09

Michael Koval