Click to See Complete Forum and Search --> : how to use the flash in background ??


PHPycho
05-27-2007, 09:44 AM
Hello forums!!
i have some problems regarding flash file..
i want to include the flash file in a page...what i want is i want to make a layer above the flash file so that something could be displayed above the flash...
how to perform such..
awaiting for your help..
thanks in advance ..

bpat1434
05-28-2007, 12:03 AM
absolute positioning with z-index.

Not sure that it would work though since it's an object you're wanting to show, and it *might* have it's own layer above all others to play in.

But basically, you'd have two <div> elements: (1) to hold the <object> element for the flash movie, and (2) to hold the overlay.

A basic CSS stylesheet would look something like:

#flashMovie {
position: absolute;
z-index: 50;
}

#flashOverlay {
position: absolute;
z-index: 99;
}

I'm not 100% sure it would work, so you'll have to try for yourself.

JPnyc
05-30-2007, 03:41 PM
Unfortunately flash as an infinite z-index value. No matter what you do, no other page element will be on top of it.