z-index, wmode and newbie all combined

11 views
Skip to first unread message

manOhman

unread,
Jul 17, 2008, 3:12:08 PM7/17/08
to SWFObject
Hi there all -

I haven't worked with Flash that much in recent years and only just
started using the swfObject with my most recent project. So I don't
know much.

Here's my problem. I have added the swfobject (2.0) and am using the
static embedding technique. I have a div that I'd like to overlap
above a swf file. It seems like most solutions talk about drop-down
menus and I'd hope that the same answer would work for regular div
HTML content.

I've tried the solutions from Pipworks that Bobby and Philip were
using in a post titled "wmode and z-index" back in May. But, I can't
get it to work and have spent a fair amount of time searching about
for an answer. I have come to the conclusion that I just don't know
enough about all this to solve my problem.

I'd love it if someone could help me out by looking at the test page
I've set up for this.

What I want via my design file: http://kruegelisms.com/freelance/Goodman/goodman_v2a_home.jpg
My test HTML file: http://kruegelisms.com/freelance/Goodman/
My CSS file: http://kruegelisms.com/freelance/Goodman/_library/goodman.css

Thanks a bunch in advance,
manOhman

Sam Sherlock

unread,
Jul 17, 2008, 5:36:22 PM7/17/08
to swfo...@googlegroups.com
AFAIK you have to apply positioning when applying z-index

so adding position: absolute; to the target_message gets you example going in ff3 with firebug

(I could be absolutely wrong about this with mere circumstance proving my theory - basically I ain't eric meyer :} )

2008/7/17 manOhman <krueg...@gmail.com>:

manOhman

unread,
Jul 17, 2008, 6:15:46 PM7/17/08
to SWFObject
That was it! Thanks a lot. Whoohoooo!!!
Works IE 6, IE 7, Safari and FF.
I was totally looking in the wrong direction figuring it must be
something I knew nothing about.

Thanks!!!
manOhman (or Michele)

On Jul 17, 4:36 pm, "Sam Sherlock" <sam.sherl...@gmail.com> wrote:
> AFAIK you have to apply positioning when applying z-index
>
> so adding position: absolute; to the target_message gets you example going
> in ff3 with firebug
>
> (I could be absolutely wrong about this with mere circumstance proving my
> theory - basically I ain't eric meyer :} )
>
> 2008/7/17 manOhman <kruegeli...@gmail.com>:

Philip Hutchison

unread,
Jul 18, 2008, 3:53:02 PM7/18/08
to swfo...@googlegroups.com
RE: applying positioning, in theory that's correct.  however in my (limited) HMTL-overlapping-SWF tests, i used z-index without positioning and it worked fine.  check it out: http://pipwerks.com/lab/swfobject/z-index/2.0/index.html

go figure.  :)

since z-index was meant to be used with positioning, it certainly wouldn't hurt to use them together (so long as you understand positioning and its ramifications).

- philip
Reply all
Reply to author
Forward
0 new messages