Click to See Complete Forum and Search --> : set layer visibility based on browser


beeready
09-18-2003, 08:45 AM
Something I want to do on a site is dependant on being able to use Flash MX's wmode publish to create a windowless, transparent .swf to be embedded in html.

Problems:

1) Not everyone has the Flash 6 Player

2) Freaking Netscape doesn't support wmode

I've had good luck publishing Flash to detect for 6 (it then just displays a static image for anyone who doesn't have the Flash 6 Player) but this particular site is a bit more complicated (see an all flash mockup: http://www.stonnie.com/Salon1050/pink.html) and I would like to use layers in Dreamweaver to set it up so that I could have each alternate image (what you would see if you don't have flash or are running netscape) as a .png on a seperate layer and then be able to set the flash/static layers' visibility based on browser + flash detection.

I found this:
http://www.devx.com/GetHelpOn/10MinuteSolution/16475/0/page/3
but it doesn't quite get me to the point where I can make something work.

Suggestions on resources or scripts that I could modify to make this work? Or should I just do an all flash site, publish to detect and have a static image for those who don't have flash 6?

Thanks!

Barrie