The closest one that I have to found to perfect is:
Private i, x, MM_FlashControlVersion
On Error Resume Next
x = null
MM_FlashControlVersion = 0
var Flashmode
FlashMode = False
For i = 9 To 1 Step -1
Set x = CreateObject("ShockwaveFlash.ShockwaveFlash." & i)
MM_FlashControlInstalled = IsObject(x)
If MM_FlashControlInstalled Then
MM_FlashControlVersion = CStr(i)
Exit For
End If
Next
FlashMode = (MM_FlashControlVersion > 5)
If FlashMode = True Then
document.write "flash object goes here"
Else
document.write "You need to download flash"
End If
Bryan F. Hogan
Director of Internet Development
Team Macromedia Volunteer
Macromedia Certified ColdFusion MX Developer
Digital Bay Media, Inc.
1-877-72DIGITAL
-Original Message-
From: Jason Miller [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 1:01 PM
To: CF-Talk
Subject: Re: OT: Flash detector
typically moock.org has the best advanced scripts like that...
I think specifically -
http://www.moock.org/asdg/
actionscript-toolbox.com has very solid code samples too
but a simple google search will turn up lots.
jay miller
Phillip B wrote:
> A friend wanted me to see if anyone here had a bullet proof flash
detection script. Some thing that checks to see what version of flash they
have and then show an image or the flash file.
>
> Phillip B.
>
> www.LoungeRoyale.com
> www.FillWorks.com
>
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4