z-index problem when embedding a flash component

I followed the coverflow tutorial and everything works fine, but if I create a new modal window on top of the flash object or if I call showNotification it doesn’t work. Basically the flash object stays on top and it shouldn’t.

ok, I just solved by adding the wmode=opaque parameter.