SOLUTION: wmode
A colleague and I came across an issue with a site that uses a .net menu with sub nav fly-outs and a flash movie.
The problem is that the flash movie was loading and playing on top of the .net menu. After racking our brains for a while, I decided to try some code that is usually used to show the transparency of a flash movie in a web page.
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="500" height="400" title="histmovie">
<param name="movie" value="main.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent">
<embed wmode="transparent" src="main.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="500" height="400"></embed>
</object>
This code allows you to make an image used in the background of your page visible if you have alpha transparency or empty spaces in your flash movie for example. Now the .net menu's fly-outs appear above the flash movie.
My colleague also had a very similar problem with Mediaplayer. This is his blog with his solution to that problem.
http://www.lynchtek.com/blog/post/2009/02/13/mediaplayer-visual-studio-dotnet-menu.aspx
Search
Friday, February 13, 2009
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment