Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Supporting Technologies > Server-Side Scripting

Reply
 
Thread Tools Rate Thread Display Modes
Old 03-15-2001, 03:25 AM   #1
Angela
Registered User
 
Join Date: Mar 2001
Posts: 5
Default

I have a nav dhtml that has a drop down menu. Beside this menu is a small Flash movie. Whenever the drop down menu displays, it shows up BEHIND the movie. I can not move the movie without redoing the site design. Can anyone tell me how to get the submenu display to appear ON TOP of the Flash movie?

I really need help here. Thanks to all that offer some, any advice.
Angela is offline   Reply With Quote
Old 03-15-2001, 04:02 AM   #2
drZoode
Registered User
 
Join Date: Feb 2001
Posts: 35
Default

Can you give us a link to that page? Or can you post the HTML/JavaScript code?
Generally speaking, you can solve these problems by using the z-index (stacking order-CSS).
drZoode is offline   Reply With Quote
Old 03-15-2001, 09:06 AM   #3
Angela
Registered User
 
Join Date: Mar 2001
Posts: 5
Default

I finally got a response from someone who said that Geocities has the same problem and they haven't been able to fix it. Seems Flash movies are always on top and no one knows anyway to position them so that they become the background or at least the "bottom layer". Z-layers just don't work. Nothing seems to work.

Macromedia has nothing of value on the subject. But I did manage to find a lot of technical jargon that hinted at the solution but I don't want to spend the next month learning how to program in C++!

Thanks for responding. Maybe someone will find the solution and post it here in the forum.

Angela is offline   Reply With Quote
Old 03-15-2001, 01:28 PM   #4
Strok
Registered User
 
Join Date: Nov 2000
Location: Toronto Canada
Posts: 789
Send a message via ICQ to Strok
Default

Macromedia.com had a javascript pop-up menu on website. And now it's gone , because they didn't find a solution !!!!
Strok is offline   Reply With Quote
Old 03-15-2001, 07:48 PM   #5
edeveloper
New Member
 
Join Date: Mar 2001
Location: eastcoast
Posts: 42
Default

i think that the problem lies in that you can't give a plugin an index value(even in a div tag). its always gonna be on top. what you can do is incorporate a javascript event that sets the visibility of a div(holding a swf file) to 0 when using the dropdown. its pretty much a duct tape solution, but it works.

edeveloper is offline   Reply With Quote
Old 03-15-2001, 08:09 PM   #6
Strok
Registered User
 
Join Date: Nov 2000
Location: Toronto Canada
Posts: 789
Send a message via ICQ to Strok
Default

Quote:
Originally posted by edeveloper
i think that the problem lies in that you can't give a plugin an index value(even in a div tag). its always gonna be on top. what you can do is incorporate a javascript event that sets the visibility of a div(holding a swf file) to 0 when using the dropdown. its pretty much a duct tape solution, but it works.

Hi edeveloper
Do you have an example? I think I just missing some small part of it.

Hi drZoode
You can't solve these problems by using the z-index !!!
Strok is offline   Reply With Quote
Old 03-16-2001, 03:47 AM   #7
edeveloper
New Member
 
Join Date: Mar 2001
Location: eastcoast
Posts: 42
Default

<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<TITLE></TITLE>
<script language="JavaScript">
//////////////////////////////////////////////////////
function show(object) {
if (document.layers && document.layers[object] != null)
document.layers[object].visibility = 'visible';
else if (document.all)
document.all[object].style.visibility = 'visible';
}
function hide(object) {
if (document.layers && document.layers[object] != null)
document.layers[object].visibility = 'hidden';
else if (document.all)
document.all[object].style.visibility = 'hidden';
}
//////////////////////////////////////////////////////
//-->
</script>
<STYLE TYPE="text/css">
<!--
.daPosition {
position: relative;
visibility: show;
}
//-->
</STYLE>


<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

</head>

<body bgcolor="#FFFFFF">

<A HREF="#" onMouseover="hide('swf')"
onMouseout="show('swf')">Move mouse pointer over this link text</A>
<DIV ID="swf" CLASS="daPosition">
<OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
WIDTH=550 HEIGHT=400 id=movie>
<PARAM NAME=movie VALUE="edev.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="edev.swf" name=movie swLiveConnect="True" quality=high bgcolor=#FFFFFF WIDTH=550 HEIGHT=400 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
</OBJECT>
</DIV>
</body>
</html>
edeveloper is offline   Reply With Quote
Old 03-16-2001, 05:05 AM   #8
drZoode
Registered User
 
Join Date: Feb 2001
Posts: 35
Post IE 5.5 Solution (MMFLASH behavior)

Hi everybody,

In IE 5.5 the Flash Player (ver5-r42 and above) can be implemented as a behavior (MMFLASH). (Normally it is implemented as an Active-X control in IE)
When the Flash movie is implemented as a behavior it can be stacked below or above any other HTML element. (For example, you can have a Flash movie playing in the background and your text can be rendered above it) Flash behaviors can be controlled by the IE 5.5 DOM methods.
You can place an MMFLASH behavior within the BODY of your HTML and by using the stacking attribute you can specify a z-level for the Flash movie.

For more info and examples please go to Macromedia Flash Support page and type "stacking" or "z-level" in the Search box.

Unfortunately this is a browser specific solution.
drZoode is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CyanBlue's 5000th Post - Useful Threads List CyanBlue ActionScript 1.0 (and below) 104 02-25-2005 02:13 PM
[Q] Do we need those forums??? CyanBlue General Chat 59 07-27-2004 12:13 PM
Flash MX Developers Exam VitiminJ General Chat 34 05-05-2004 02:27 PM
HOT TOPIC: Shoutcast/Icecast in FLash! macsym Server-Side Scripting 0 11-28-2003 10:00 PM
Flash MX seminar Tink ActionScript 1.0 (and below) 5 03-17-2002 05:41 AM


All times are GMT. The time now is 05:56 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.