944,084 Members | Top Members by Rank

Ad:
Dec 7th, 2004
0

flash and drop down menus

Expand Post »
hi
this is the page i did:
http://www.kilolambda.com/updatesite/menusite.shtml

and this is anothe page i did where i called the menusite.shtml as an include inside a div z-index-2:
http://www.kilolambda.com/updatesite/index.shtml

i have 2 small flash files in this page and you can see that i can't see all the open menu - can you tell me why???

you can see sample that works fine at:
http://www.scitexvision.com/
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
baraklevy is offline Offline
2 posts
since Dec 2004
Dec 7th, 2004
0

Re: flash and drop down menus

i solved the problem only for IE browsers by adding "wmode=transparent" to the flash objects

But what should i do for other browsers?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
baraklevy is offline Offline
2 posts
since Dec 2004
Aug 20th, 2005
1

Re: flash and drop down menus

To edit an existing HTML page, add the WMODE parameters to the HTML code.

1. Add the following parameter to the OBJECT tag:

<param name="wmode" value="transparent">

2. Add the following parameter to the EMBED tag:

wmode="transparent"


This Will Work With All Browsers

Rahul

http://www.katarey.com
Reputation Points: 39
Solved Threads: 23
Junior Poster
katarey is offline Offline
167 posts
since Jul 2005
Feb 25th, 2008
0

Re: flash and drop down menus

i think wmode is only for windows. here i have same problem. it has been resolved for browsers running on windows platform. but as i run the site on linux platform then wmode is not working. and the menu goes behind the flash. what do i do?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
dhaval.patel is offline Offline
1 posts
since Feb 2008
Feb 25th, 2008
0

Re: flash and drop down menus

Hi there,

I have created a page for reference, how to get rid
to this problem..

http://www.katarey.com/forHelp/flash...arencyProblem/

there is four drop down menus and four flash files embed by four different ways

I hope this will help you

Rahul Dev Katarey
Reputation Points: 39
Solved Threads: 23
Junior Poster
katarey is offline Offline
167 posts
since Jul 2005
Nov 20th, 2008
0

Re: flash and drop down menus

I spent a lot of time scouring the web for a solution to this 'javascript menu appearing behind flash' problem. The advice that Katarey and many on the web suggest did not work for me:

1. Add the following parameter to the OBJECT tag:
HTML and CSS Syntax (Toggle Plain Text)
  1. <param name="wmode" value="transparent">
2. Add the following parameter to the EMBED tag:
HTML and CSS Syntax (Toggle Plain Text)
  1. wmode="transparent"

Until I found this post:
http://www.likno.com/blog/my-submenu...-can-i-do/227/

The solution was to add ONE MORE (3 total) 'wmode' line to your AC_FL_RunContent script. This assumes that you're using the Adobe/Macromedia method of embedding your flash objects.

My code:
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','700','height','600','title','title of my flashmovie','src','/swf/flashfilename','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','/swf/flashfilename','wmode','Transparent' ); //end AC code
</script>

<noscript>
          <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="700" height="600" title="title of my flashmovie">
            <param name="movie" value="/swf/flashfilename.swf">
            <param name="quality" value="high">
            <param name="wmode" value="transparent">
            <embed src="/swf/flashfilename.swf" wmode="transparent" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="700" height="600"></embed>
          </object>
          </noscript>


And between the <head> and </head> tags, don't forget to add:

HTML and CSS Syntax (Toggle Plain Text)
  1. <script src=”AC_RunActiveContent.js” language=”javascript”></script>

Flash will generate this file for you.. or you could download it from the Macromedia site.
Last edited by cheekymonkey; Nov 20th, 2008 at 11:32 pm. Reason: correct typo
Reputation Points: 10
Solved Threads: 0
Newbie Poster
cheekymonkey is offline Offline
1 posts
since Nov 2008
Nov 21st, 2008
0

Re: flash and drop down menus

wmode = transparent only seems to work in MS Windows and sometimes in Linux browsers. (don't now about the Mac, can someone say something about flash on the Mac). But it depends on the rest of the code used.

I'm re-designing a web site and there will be a flash movie in it. Under Linux in Firefox 2 the menu will push the flash move out of the way, in Firefox 3 the menu goes behind the flash.

Have spend a lot of time on google to find a working solution, but found none.

In another forum some members there claimed that Adobe is to blame. The flash plugin for Linux browsers seems to contain a serious bug and can't be trusted to handle wmode correctly all the time (in fact, most off the time it will not work).

Still have to do some work on it. The flash move I'm using on this new site is a slide show with overlay, so it is not that hard for me to re-use some old javascript to get more or less the same result. The nice looking effect when images change in the flash movie isn't there, but at least the images will display and the menu will work.
In the final version (that is, as the site goes life), there will be a test for Linux and if so, the javascript comes to the rescue.
Reputation Points: 34
Solved Threads: 52
Posting Whiz
colweb is offline Offline
316 posts
since Nov 2007
Dec 11th, 2008
0

Re: flash and drop down menus

Hello,

I have a test environment (you can find it here: http://80.61.28.192), where I use a flash movie if the OS is Windows or Mac and a javascript slide show if it is Unix, Linux or Unknown. The upload from this address is a little slow..

When using the flash under Linux the menu goes wrong. Either its hidden behind the flash or it pushes the flash out of the way (depends on the browser used).

Maybe you think "why not using the javascript for Windows and Mac also". Well, the final flash will have an overlay and some other things in it, and the javascript version only shows the images.

For the way I do it, please see the source code. The url's of the images are in a xml file and either the flash or the javascript reads these in. It's therefore possible to quickly change the images and have more or less images. The current ones are landscapes found with Google and are used here only for testing.

The test environment will stay online for a couple of days.

If you have a Mac please let me know how it shows on your machine. Linux and Windows is something I can test, but I have no Mac.

greatings,
Colweb
Reputation Points: 34
Solved Threads: 52
Posting Whiz
colweb is offline Offline
316 posts
since Nov 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: How to make a broken image box?
Next Thread in HTML and CSS Forum Timeline: Fluid Width Layout Problem





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC