Wrox Programmer Forums
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Flash (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 17th, 2008, 10:50 PM
Registered User
 
Join Date: Sep 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Flash z-index problem

I have a javascript drop down menu bar directly above an embeded flash movie. And the flash movie always hides the drop down boxes. I tried publishing the movie with the wmode=transparent parameter, didnt work. I'm not sure how to fix this.

- MJ
 
Old September 24th, 2008, 09:11 AM
Authorized User
 
Join Date: Jul 2008
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You need to use wmode="opaque" to fix this.

Shawn Steward
Web Developer
www.shawnsteward.com
 
Old September 24th, 2008, 11:52 PM
Friend of Wrox
 
Join Date: Jun 2007
Posts: 477
Thanks: 10
Thanked 19 Times in 18 Posts
Default

It's not quite the same thing, but I think form boxes are stronger. It's a CSS issue really, but we ran into the same problem when our menus, styled divs, would drop down "behind" the flash regardless of z-index.

I'd refer you to the CSS board, but as that just means I'd have to meet you over there...

You need to line up your elements 1, 2, 3. You'll have the drop downs and the flash needs to come after them in code. In between them, in the HTML of the webpage you need this div

<div class="clear"></div>

You can name the class whatever you want of course. Then in your stylesheet, insert...

.clear {
    clear:both;
    overflow:hidden;
    height:0px;
    display:block;
    }

At least that's how we got ours working cross browser. IE, FF, Opera, even Safari. I don't believe the wmode on the flash swf really made much difference in the end, but fyi ours is set to transparent currently and we are NOT experimenting with it further. ;)

Hope that helps.

-------------------------

Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe

When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper

Chroniclemaster1, Founder of www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.





Similar Threads
Thread Thread Starter Forum Replies Last Post
z-index problem with select showing through div crmpicco CSS Cascading Style Sheets 3 July 4th, 2008 07:00 AM
Chapter 13 problem(undefined index) linux-penguin BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 2 February 15th, 2008 06:10 AM
i have problem in index collection of tabledef good man Access 1 December 11th, 2006 08:41 PM
Table Index Problem JDrown Access VBA 1 March 17th, 2006 12:23 PM
Problem with Index server Query MurthyGarimella VS.NET 2002/2003 0 July 7th, 2004 06:57 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.