Flash Object over Menu

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
fastflagsrt4
Advanced
Advanced
Posts: 13
Joined: Tue Jun 27, 2006 7:53 pm
Location: Maryland

Flash Object over Menu

Post by fastflagsrt4 »

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.
robjr1
Beginner
Beginner
Posts: 7
Joined: Fri Feb 20, 2009 12:26 pm

Re: Flash Object over Menu

Post by robjr1 »

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!
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Re: Flash Object over Menu

Post by John »

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.
John
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Re: Flash Object over Menu

Post by John »

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.
John
robjr1
Beginner
Beginner
Posts: 7
Joined: Fri Feb 20, 2009 12:26 pm

Re: Flash Object over Menu

Post by robjr1 »

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
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Re: Flash Object over Menu

Post by Andy »

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://milonic.com/activateflash.php that has details on our swfobject equivalent that does support dhtml over flash in Firefox.

-- Andy
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Re: Flash Object over Menu

Post by Andy »

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?
robjr1
Beginner
Beginner
Posts: 7
Joined: Fri Feb 20, 2009 12:26 pm

Re: Flash Object over Menu

Post by robjr1 »

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.
robjr1
Beginner
Beginner
Posts: 7
Joined: Fri Feb 20, 2009 12:26 pm

Re: Flash Object over Menu

Post by robjr1 »

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
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Flash Object over Menu

Post by Ruth »

Hi,

With regard to the wordpress page. The problem is in the css, the margin: 0px auto in this line

Code: Select all

#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: Select all

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: Select all

<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: Select all

<div id="myFlashDiv">

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

Hope this helps.

Ruth
robjr1
Beginner
Beginner
Posts: 7
Joined: Fri Feb 20, 2009 12:26 pm

Re: Flash Object over Menu

Post by robjr1 »

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.
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Re: Flash Object over Menu

Post by Andy »

There's an error in your page.

What you need to do is declare the container div:

Code: Select all

<div id="myFlashDiv">
</div>
Before you declare the script code:

Code: Select all

<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: Select all

<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>
robjr1
Beginner
Beginner
Posts: 7
Joined: Fri Feb 20, 2009 12:26 pm

Re: Flash Object over Menu

Post by robjr1 »

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
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Flash Object over Menu

Post by Ruth »

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
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Re: Flash Object over Menu

Post by John »

I just tried it in FF3.0.6, and all the menus are on top of the Flash.
John
robjr1
Beginner
Beginner
Posts: 7
Joined: Fri Feb 20, 2009 12:26 pm

Re: Flash Object over Menu

Post by robjr1 »

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