homepage Welcome to WebmasterWorld Guest from 54.226.80.196
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

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




msg:3366432
 2:51 pm on Jun 13, 2007 (gmt 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?

 

bcolflesh




msg:3366479
 3:46 pm on Jun 13, 2007 (gmt 0)

Do you have the wmode set to transparent?

[kb.adobe.com...]

brucec




msg:3366485
 3:58 pm on Jun 13, 2007 (gmt 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.

edgeportals




msg:3369186
 11:57 pm on Jun 15, 2007 (gmt 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!

edgeportals




msg:3369187
 11:59 pm on Jun 15, 2007 (gmt 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.

brucec




msg:3372795
 11:27 pm on Jun 19, 2007 (gmt 0)

Thanks Edgeportals. It happened in both IE and Firefox.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved