Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: checking color depth ? |
From: | Erik [gearik] Mattheis |
Date: | Fri, 15 Jan 1999 11:36:25 GMT |
>>Is there any way that Flash is checking the color depth before starting
>>a movie, like director can ? So that i can load different flash movies
Put this immediately after <head> and Netscape 4 and IE 4 will be
redirected to one of two html pages based on colordepth, which will work
for both. Other browsers stay on the same page.
<script language="javascript1.2">
<!--
if (screen.colorDepth > 8)
location='thousandsOfColors.html'
else
location='256Colors.html'
//-->
</script>
You can't query color depth on earlier browsers with JavaScript ... perhaps
you can with Java, I don't know.
Let me know if that helps or if you had something else in mind.
PS no FScommand necessary - even if you wanted to do it without redirection.
__________________________
Erik [gearik] Mattheis
<http://www.gourmandizer.com>
__________________________
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-managershocker [dot] com. Problems to: ownershocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-managershocker [dot] com
Replies
Re: FLASH: checking color depth ?, Byron Canfield
Re: FLASH: checking color depth ?, Ralf Hoffmann
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]