Welcome to WebmasterWorld Guest from 107.22.66.11

Forum Moderators: open

Message Too Old, No Replies

Need help, Flash Transparent Background is blocking rest of web site

     
2:51 pm on Jun 13, 2007 (gmt 0)

Full Member

10+ Year Member

joined:Jan 23, 2004
posts:338
votes: 0


I have a Flash navigation bar on top of my web site. To allow pull down menus, I have a lot of height under the toolbar to allow the menus to load as external movies on different depths. Code is like this:

When Flash movie loads:
_root.createEmptyMovieClip("GearMenu", 4);
GearMenu._x = 27;
GearMenu._y = MenuYPos;

During a button's on(rollOver) event:
on (rollOver) {
closeMenus();
GearMenu.loadMovie("menuSupport.swf");
}

My FLA document height is 200 to accomodate these external movies loading into the menu. So, the background is transparent.

Unfortunately, the rest of my web site is blocked.

Any solutions?

3:46 pm on June 13, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Feb 21, 2003
posts: 2355
votes: 0


Do you have the wmode set to transparent?

[kb.adobe.com...]

3:58 pm on June 13, 2007 (gmt 0)

Full Member

10+ Year Member

joined:Jan 23, 2004
posts:338
votes: 0


Yes, I do, that is what makes it transparent in the first place, but the background is still there and any HTML elements underneath it are blocked.
11:57 pm on June 15, 2007 (gmt 0)

New User

10+ Year Member

joined:June 24, 2005
posts:25
votes: 0


LOL

Sorry to laugh, but it's nice to see someone else encountering this problem and actually wanting a solution. Let me guess, you're not using IE? Most likely Firefox? The IE flash plugin is slightly different (and separate) from the Firefox/Netscape/Mozilla plugin. Mozilla-based browsers lockout everything behind the transparency yet show the transparency, which to me is just dumb (whats the point).

The solution is quite complicated: a rewrite of how javascript handles mouseclicks on top of flash objects. THEN a companion routine inside flash to trigger capture those mouseclicks and trigger the new javascript click event.

Sounds impossible, but I did it several years ago. Of course, after months of development, I ended up scrapping the need for it! LOL, go figure!

Good Luck!

11:59 pm on June 15, 2007 (gmt 0)

New User

10+ Year Member

joined:June 24, 2005
posts:25
votes: 0


An easier solution might be to use what the flash ads use; javascript to resize the height of the menu from short to tall when needed. That way it only locks out part of your website when they're using the pulldown menu.
11:27 pm on June 19, 2007 (gmt 0)

Full Member

10+ Year Member

joined:Jan 23, 2004
posts:338
votes: 0


Thanks Edgeportals. It happened in both IE and Firefox.