PDA

View Full Version : problem with layers



danielwarner
May 18th, 2007, 05:43 PM
is it impossible to hide a flash swf under another layer.

basicly i have been using css to position a transparent image over a flash movie (using z-index) but the image will always appear under the movie.

Is it possible to position the image over a flash movie?

Thanks

felgall
May 18th, 2007, 10:20 PM
Not when you have the wmode for the flash set to the default value of 'window' because that is an instruction to put it in front of everything else. Set the wmode to 'transparent' or 'opaque' in order to allow other elements to overlap in front.

danielwarner
May 19th, 2007, 02:12 AM
Well im using embedded videos from an external website..

Can i just add in a param to make that work?

CoNt3MpT
May 19th, 2007, 04:02 AM
you could get lazy and iFrame the Flash, with the transparent over the div containing the iFrame

danielwarner
May 19th, 2007, 05:40 PM
not xhtml compliant, i tried it anyway though and it didnt work.

felgall
May 19th, 2007, 11:22 PM
Just add a wmode param to the object and set it to transparent or opaque