Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: Distinguish Flash 2 and 3 in JavaScript/Scripting?
From: Joe Crawford
Date: Tue, 5 May 1998 17:35:32 +0100

I wrote:

> >How do I do a pure detection between versions of Flash 2 and 3 in
> >JavaScript or VBScript. Is there a property of the mimetype to
> >distinguish between 2 and 3?

Thanks very much to both Colin and Tom for their *invaluable* help.

I just love mailing lists : )


btw: one way to distinguish Flash 2 from 3 is with
parseInt(navigator.plugins["Shockwave
Flash"].description).substring(16,20)

which gives 2 or 3, depending.

Of course, there are the usual browser differences (MSIE, for example,
bit having the plugins array) - but it works for most visitors.

Thanks again.

Joe

Joe Crawford > ArtLung = Artist + Respiratory Therapist <
> W e b D e s i g n e r <
> Los Angeles, California, USA <
> <artlungatearthlink [dot] net (mailto:artlungatearthlink [dot] net)> <
> <http://home.earthlink.net/~artlung/> <


------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [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-manageratshocker [dot] com


[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]