Kevin:

You can use _javascript_ to detect supported Mime Types.  The following code
would tell you if the browser supports Flash:

<SCRIPT LANGUAGE="_javascript_">
<!--
var flash_flag = 0;

for (i = 0; i < navigator.mimeTypes.length; i++)
{
if (navigator.mimeTypes[i].type == "application/x-shockwave-flash")
{
flash_flag = 1;
}
}
// -->
</SCRIPT>

Then you could set a hidden field with the value of flash_flag to submit to
the next page.

--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 942-5378
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/

-----Original Message-----
From: Parker, Kevin [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 26, 2004 5:13 PM
To: CF-Talk
Subject: Flash detect

Is it possible to test with CFML if a browser has Flash available

+++++++++++++++++++
Kevin Parker
Web Services Manager
WorkCover Corporation

p: 08 8233 2548
e: [EMAIL PROTECTED]
w: www.workcover.com
+++++++++++++++++++
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to