Forum Moderators: open

Message Too Old, No Replies

Flash vs. DHTML

Anyway to prevent flash being "always on top"

         

digitalv

4:08 pm on Jun 29, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have a page where I'd like to use a DHTML menu from Dynamic Drive but the problem is there are a couple of flash images on the page and they always appear on top. The DHTML menu has a couple of drop-downs (jsDomenuBar on DynamicDrive for reference) but the drop downs always draw in BEHIND the flash.

Any way to specify which one should be on top?

BlobFisk

4:40 pm on Jun 29, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can fix this my adding the param of wmode=transparent.

Macromedia TechNote: [macromedia.com...]

Discussed here also: [webmasterworld.com...]

Richard_N

4:50 pm on Jun 29, 2005 (gmt 0)



no you cant Bob its only a fix for internet explorer for windows, will not work in other browsers.

There is no absolute solution to this its becasue flash is embedded in the page and therefore falls outside the z axis parameters the page uses to load content on different levels.

BlobFisk

5:02 pm on Jun 29, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It's interesting that you say that Richard_N, as that was always my opinion too, however, I've seen this work on Firefox and Opera and according to Macromedia:


The following browsers currently support windowless mode:

Windows and Mac OS X
Internet Explorer 3 or higher (Windows)
Internet Explorer 5.1* and 5.2* (Macintosh)
Netscape 7.0*
Mozilla 1.0 or higher*
AOL*
CompuServe*

* Macromedia Flash Player version 6,0,65,0 (Windows) or 6,0,67,0 (Macintosh) or higher required for this feature.

Note: Mac Classic is not supported for this feature. Transparent backgrounds are also not possible in a Flash standalone projector.

Note: If windowless mode is used, performance can be affected to some degree. If fastest performance is a top priority, you may consider other design options.

So it is also dependent on the plugin verion.

Richard_N

5:37 pm on Jun 29, 2005 (gmt 0)



got one running on a site now its fine it IE but fails in firefox rv:1.7.8 and also Opera 8 so no doesnt work

Are you sure your definition of windowless is the same as macromedias?

Richard_N

5:38 pm on Jun 29, 2005 (gmt 0)



what you may have seen is firefox and opera running in IE emulation mode?

BlobFisk

5:53 pm on Jun 29, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



That could certainly be the case!

Richard_N

6:22 pm on Jun 29, 2005 (gmt 0)



OK not one to admit to being wrong.... :-)

Just checked my code and had forgotten the wmode="transparent" in the enbed tag which is of course what firefox etc read from so yes Bob you were right, it does work....