Ask a Question related to Coldfusion Flash Integration, Design and Development.
-
cyber fyb #1
CFMenu and Flash ovelapping
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','ti tle','<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">À 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>
cyber fyb Guest
-
Flash player not working on some websites & have foundRegestry keys of older Flash players.
Hi, like many people here I have problems seeing flash content on some websites but other websites work fine. I also found that YOUTUBE works... -
Flash player installed, but every site flash playerrequired for asks to install not working at all
Hi all, wondering if someone would be kind enough to help me, PLEASE lol Flash player asks to be installed everytime I go onto any site that... -
convert all flash site to both flash and no flash
a friend has a site that is done with all flash. they asked me to help make it readable by more browsers. could some belly point me in the right... -
Are Google and the Flash manual a good start for learning Flash?
If so.. please tell Mr. x so! -
Send data to Flash from a page without reloading the flash file
The title tells the most, I want to send like, "hello" to a flashfile from a html page(the flash file is on the site) without having to reload the...



Reply With Quote

