Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:12

Flash Object over Menu


Poster: fastflagsrt4
Dated: Thursday February 19 2009 - 14:20:44 GMT

On my website I have a flash object and just got a complaint that it is blocking menu in firefox.

I have gone here but page doesnt work: http://www.milonic.dev/activateflash.php
I have also searched.

here is website: www.abmg.org

Any help would be greatly appreciated.

Thank You.

Re: Flash Object over Menu


Poster: robjr1
Dated: Friday February 20 2009 - 11:30:41 GMT

I'm having the same issues as well I have a flash slideshow on my homepage that is hiding the menu partially on Macs, and completely on Windows with Firefox 3. http://robertrodriguezjr.com

Any advice would he great!

Re: Flash Object over Menu


Poster: John
Dated: Friday February 20 2009 - 16:54:04 GMT

fastflagsrt4 -

Using FF3.0.6 I see all your menus on top of everything else on the page. However, you are way down-level in your menu software. You're running v5.779, current is v5.816. For further help you will need to update to the current version.

Re: Flash Object over Menu


Poster: John
Dated: Friday February 20 2009 - 16:57:54 GMT

robjr1 -

None of your menus have enough items to show if they drop behind the pictures. However, you have the same problem as explained above - down-level software - and my response is, therefore, the same.

Re: Flash Object over Menu


Poster: robjr1
Dated: Friday February 20 2009 - 20:49:49 GMT

ok, I upgraded to the latest version, but still having the same problem on my home page. The Gallery item on the top menu has 9 submenus as you can see here: http://robertrodriguezjr.com/hello.php

However, I can only see 2 on the homepage which has the Flash: http://robertrodriguezjr.com

Also, on my blog, the menu seems to be offset and is not working at all: http://robertrodriguezjr.com/wp

Any suggestions would be appreciated. Thanks

Re: Flash Object over Menu


Poster: Andy
Dated: Saturday February 21 2009 - 9:19:46 GMT

I can see a problem using Firefox and it appears to be a problem with swfobject

swfobject doesn't seem to be able to offer the full set of features to enable it to allow dhtml over flash.

Please see http://www.milonic.com/activateflash.php that has details on our swfobject equivalent that does support dhtml over flash in Firefox.

-- Andy

Re: Flash Object over Menu


Poster: Andy
Dated: Saturday February 21 2009 - 9:25:30 GMT

fastflagsrt4 wrote:
On my website I have a flash object and just got a complaint that it is blocking menu in firefox.

I have gone here but page doesnt work: http://www.milonic.dev/activateflash.php
I have also searched.

here is website: http://www.abmg.org

Any help would be greatly appreciated.

Thank You.


Looking at the website http://www.abmg.org - I cannot see a reference to insert_active_flash.js - I also cannot see any Flash on the page. Did you remove it?

Re: Flash Object over Menu


Poster: robjr1
Dated: Saturday February 21 2009 - 12:08:12 GMT

Thanks for your help, but I've tried both versions, and neither one seems to fix the problem.

Here is the "insert_active_flash.js" method: http://robertrodriguezjr.com/content2.php?page=test

Here is the "flash_activator.js" method: http://robertrodriguezjr.com

Thanks again for your quick responses...need to get this working asap.

Re: Flash Object over Menu


Poster: robjr1
Dated: Tuesday February 24 2009 - 19:56:22 GMT

I'm also having a problem on my wordpress site where the submenus are off-set to the right - any ideas what is causing this?
http://robertrodriguezjr.com/wp

Thanks

Re: Flash Object over Menu


Poster: Ruth
Dated: Wednesday February 25 2009 - 3:26:31 GMT

Hi,

With regard to the wordpress page. The problem is in the css, the margin: 0px auto in this line
Code:
#page {
   CLEAR: both; BORDER-RIGHT: #ddd 1px solid; BORDER-TOP: #ddd 1px; BACKGROUND: white; MARGIN: 0px auto; BORDER-LEFT: #ddd 1px solid; PADDING-TOP: 20px; BORDER-BOTTOM: #ddd 1px solid; POSITION: relative; TEXT-ALIGN: left
}


I am assuming that you need that so I tried to find a fix without changing anything in the css. This is the solution I found.

Remove the call for the files from where it is and place it the last thing after the body tag. Then change your main menu to the following

Code:
with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
screenposition='center';
itemwidth="100%";
menualign="center";
menuwidth="780px";
orientation="horizontal";
style=ScrollingSampStyle;
top=220;
zindex=80;


The other solution would be to leave the menu as it is, but make the header div, then the menu, then start your page div with all the rest in it. That is removing the header div and the menu from that page div, with the menu outside that page div, I don't think it will be affected by that margin auto.

As to the flash issue. I have downloaded both your pages but I can't see anyplace where you have actually done the flash div and activated it like on the demo page. For example, on the demo page, Andy shows the code as

Code:
<script>
myFlashObject=new Object
myFlashObject.movie="flashfile.swf"
myFlashObject.quality="high"
myFlashObject.wmode="transparent"
myFlashObject.width=850
myFlashObject.height=550
myFlashObject.version="5,0,0,0"

commitFlashObject(myFlashObject, "myFlashDiv")
</script>


and then he has a div called
Code:
<div id="myFlashDiv">

</div>


IF you go to this page and view the source you'll see how it works http://www.milonic.com/over.php

Hope this helps.

Ruth

Re: Flash Object over Menu


Poster: robjr1
Dated: Wednesday February 25 2009 - 5:04:42 GMT

Thank you for the solution the wordpress site - it is working perfectly now!

However, I still can't get the insert_active_flash script to work - the flash movie doesn't even show. Here is a page with the code you suggested, but no luck:

http://robertrodriguezjr.com/content.php?page=test

Thank you for your help.

Re: Flash Object over Menu


Poster: Andy
Dated: Wednesday February 25 2009 - 13:00:01 GMT

There's an error in your page.

What you need to do is declare the container div:

Code:
<div id="myFlashDiv">
</div>


Before you declare the script code:

Code:
<script src="/insert_active_flash.js"></script>
<script type="text/javascript">
myFlashObject=new Object
myFlashObject.movie="/homepage_slideshow.swf"
myFlashObject.quality="high"
myFlashObject.wmode="transparent"
myFlashObject.width=650
myFlashObject.height=450
myFlashObject.version="5,0,0,0"

commitFlashObject(myFlashObject, "myFlashDiv")

</script>




Something like this should work:


Code:
<div id="myFlashDiv">
</div>
<script src="/insert_active_flash.js"></script>
<script type="text/javascript">
myFlashObject=new Object
myFlashObject.movie="/homepage_slideshow.swf"
myFlashObject.quality="high"
myFlashObject.wmode="transparent"
myFlashObject.width=650
myFlashObject.height=450
myFlashObject.version="5,0,0,0"

commitFlashObject(myFlashObject, "myFlashDiv")

</script>

Re: Flash Object over Menu


Poster: robjr1
Dated: Wednesday February 25 2009 - 13:29:59 GMT

Ok, the Flash object is showing now, but the menu still gets hidden behind the borders of the Flash...

http://robertrodriguezjr.com/content.php?page=test

Re: Flash Object over Menu


Poster: Ruth
Dated: Wednesday February 25 2009 - 16:38:08 GMT

What browser has the problem? I have tried in IE6, which gives me a weird picture flashing with black circles and such [it is a flash object though] probably because I don't have the correct flash version, but in FF2, 3, NN7, 9, Safari3 for pc, Opera 9, and Google Chrome and the menu drops over the flash in all of them.

Ruth

Re: Flash Object over Menu


Poster: John
Dated: Wednesday February 25 2009 - 16:52:13 GMT

I just tried it in FF3.0.6, and all the menus are on top of the Flash.

Re: Flash Object over Menu


Poster: robjr1
Dated: Wednesday February 25 2009 - 17:08:44 GMT

Yes it is now working in my browsers - I needed to refresh. THANK YOU for all of your help - much appreciated!