• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Flash over Menu: problem is the code validation

Guest
Dec 01, 2010 Dec 01, 2010

Copy link to clipboard

Copied



Hi

I want to validate my code.


I have fly-out menus that fly-out over a flash movie. At first, the flash layer covered the fly-out portion. I resolved the cover-up problem in the big 3 browsers (Chrome, IE, Firefox), and am happy with the outcome. However, the code validation says that the wmode="transparent" element is a problem.


Here is the code I am using. It works, but does not validate. The problem lies in the 'wmode' element. Using the 'transparent' value in both places, as shown below, gets the menu to fly-out properly in the big3 browsers. Using only one 'transparent' value works in 1 or 2 browsers but not all 3, but does not validate here either. What is the deal with the 'wmode', or how can I change the code to get it to validate?


<div>
<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" width="484" height="484" id="homemovie">
<param name="movie" value="flash/homemovie.swf" />
<param name="wmode" value="transparent">
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="flash/homemovie.swf" width="484" height="484" wmode="transparent">
<!--<![endif]-->
<a href="http://www.adobe.com/go/getflashplayer">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>


Views

910

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 01, 2010 Dec 01, 2010

Copy link to clipboard

Copied

LATEST

Please post in the appropriate product forum (Flash, Flex, ActionScript, etc.); this is the Flash Player forum.

And when you do, please use a normal font size; your post above is almost impossible to read!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines