macromedia.coldfusion.flash_integration
[Top] [All Lists]

CFMenu and Flash ovelapping

Subject: CFMenu and Flash ovelapping
From: "cyber fyb" <webforumsuser@xxxxxxxxxxxxxx>
Date: Sun, 16 Sep 2007 15:52:31 +0000 (UTC)
Newsgroups: macromedia.coldfusion.flash_integration

Hi,

 I am using ColdFusion 8 with CFMENU and since I have some sub-menu and have a 
Flash animation just below the line of the menu, the sub-menu appears behind 
the FLash animation. I tried to place a DIV with the z-index lower for the 
CFMENU than the FLash (-1 for the CFMENU and 5 for the Flash animation). I 
followed some of the tricks from the NET that says to put the Flash animation 
as transparent (WMODE=transparent) but it does not work.

 Is there a trick - a real and functional one - to have the sub-menu over the 
Flash animation?

 Thank's!

 ********* mhtMenu.cfm (this CustomTag is called from the CustomTag mhtHeader) 
*****************

 <!--- Menu --->
 <table align="center" width="800" cellspacing="0" cellpadding="0"  
bgcolor="#F7FAFE" style="background-image:url('/v2008/img/background.jpg'); 
z-index:5">
        <tr>
                <td align="center" valign="top" width="100%">
                        <table align="center" cellspacing="0" cellpadding="0">
                                <tr>
                                        <td align="center" valign="top">
                                                <div style="z-index:5;">
                                                <cfmenu name="menu" 
menustyle="font-weight:bold; font-size:10pt; 
background-image:url('/v2008/img/background.jpg'); z-index:5; wmode:opaque;" 
type="horizontal" selecteditemcolor="##D8EAFE" fontcolor="##000033" 
selectedfontcolor="" childstyle="" fontsize="10" >
                                                        <!--- ACCUEIL --->
                                                        <cfif cgi.SCRIPT_NAME 
contains "/v2008/default.cfm" IS FALSE>
                                                                <cfset vDisplay 
= "ACCUEIL">
                                                                <cfif 
session.lang is "en">
                                                                        <cfset 
vDisplay = "HOME">
                                                                </cfif>
                                                                <cfmenuitem 
display="#vDisplay#" href="/v2008/" 
style="color:CCCCCC"></cfmenuitem>
                                                        </cfif>
                                                        <cfset vDisplay = 
"PRODUITS">
                                                        <cfif session.lang is 
"en">
                                                                <cfset vDisplay 
= "PRODUCTS">
                                                        </cfif>
                                                        <cfmenuitem 
display="#vDisplay#" href="/v2008/produits" 
style="color:CCCCCC"></cfmenuitem>
                                                        <cfset 
vDisplay="CATALOGUE">
                                                        <cfset vHref = 
"/v2008/catalogue/catalogue_" & session.lang & ".pdf">
                                                        <cfmenuitem 
display="#vDisplay#" href="#vHref#" style="color:CCCCCC; 
z-index:1; " target="_blank">
                                                                <cfmenuitem 
display="Catalogue Fran?ais" 
href="/v2008/catalogue/catalogue_fr.pdf" target="_blank" style="color:CCCCCC; 
z-index:1"></cfmenuitem>
                                                                <cfmenuitem 
display="Catelogue English" 
href="/v2008/catalogue/catalogue_en.pdf" target="_blank" style="color:CCCCCC; 
z-index:1;"></cfmenuitem>
                                                        </cfmenuitem>
                                                        <cfset vDisplay = "MUSH 
HI-TECH AVENTURE">
                                                        <cfif session.lang is 
"en">
                                                                <cfset vDisplay 
= "MUSH HI-TECH ADVENTURE">
                                                        </cfif>
                                                        <cfmenuitem 
display="#vDisplay#" href="/v2008/aventure" 
style="color:CCCCCC"></cfmenuitem>
                                                        <cfset vDisplay = 
"NOUVELLES">
                                                        <cfif session.lang is 
"en">
                                                                <cfset vDisplay 
= "NEWS">
                                                        </cfif>
                                                        <cfmenuitem 
display="#vDisplay#" href="/v2008/nouvelles" 
style="color:CCCCCC"></cfmenuitem>
                                                        <cfset vDisplay = 
"CONTACT">
                                                        <cfif session.lang is 
"en">
                                                                <cfset vDisplay 
= "CONTACT US">
                                                        </cfif>
                                                        <cfmenuitem 
display="#vDisplay#" href="/v2008/contact" 
style="color:CCCCCC"></cfmenuitem>
                                                        <cfset vDisplay = 
"ENGLISH">
                                                        <cfif session.lang is 
"en">
                                                                <cfset vDisplay 
= "FRAN?AIS">
                                                        </cfif>
                                                        <cfmenuitem 
display="#vDisplay#" href="/v2008/lang.cfm" 
style="color:CCCCCC"></cfmenuitem>
                                                </cfmenu>
                                                </div>
                                        </td>
                                </tr>
                        </table>
                </td>
        </tr>
 </table>



 ********* default.cfm ***************

 <script src="../Scripts/AC_RunActiveContent.js" 
type="text/javascript"></script>
 <cf_mhtHeader>
        <table width="800" align="center" cellspacing="0" cellpadding="0">
                <tr>
                        <td align="center" valign="top">
                                <!---
                                <img src="/v2008/img/accueil_pub_001.jpg" 
border="1" width="798" />
                                --->
                                <!---
                                <div style="z-index:-1">
                                --->
                          <script type="text/javascript">
 AC_FL_RunContent( 
'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#
version=7,0,19,0','width','800','height','400','title','<cfif session.lang is 
"fr">? votre service depuis 1994!<cfelse>At your service since 
1994!</cfif>','src','swf/accueil_<cfoutput>#session.lang#</cfoutput>','quality',
'high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','swf/
accueil_<cfoutput>#session.lang#</cfoutput>' ); //end AC code
 </script><noscript><object 
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
rsion=7,0,19,0" width="800" height="400" title="<cfif session.lang is 
"fr">&Agrave; votre service depuis 1994!<cfelse>At your service since 
1994!</cfif>" wmode="transparent">
                   <param name="movie" 
value="swf/accueil_<cfoutput>#session.lang#</cfoutput>.swf" />
                                  <param name="wmode" value="transparent" />
                   <param name="quality" value="high" />
                   <embed src="swf/accueil_fr.swf" quality="high" 
pluginspage="http://www.macromedia.com/go/getflashplayer"; 
type="application/x-shockwave-flash" width="800" height="400"></embed>
                    </object></noscript>
                        <!---           
                        </div>
                        --->    
                        </td>
                </tr>

        </table>
        
 <cf_mhtFooter>


<Prev in Thread] Current Thread [Next in Thread>
  • CFMenu and Flash ovelapping, cyber fyb <=