Flasher Archive

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


Subject: Re: FLASH: flash 5.0 plugin detector
From: Gregg Caines
Date: Thu, 16 Nov 2000 20:24:50 GMT

Our company site uses a sniffer (written in Flash 4) that
uses the $version variable fairly successfully as far as our
tests go. We actually programmed (in ASP) a way to see
if the detection worked (or failed) and tell us what browser
was being used. We've had a number of browsers on a
number of platforms and it seems to be detecting just fine.

I substring the $version variable just as was suggested, and
I test to see if the number >= 4, since our site is in version
4, but we want to be able to allow all subsequent plug-ins.

Anyway, the method works like a charm, for all those who
are interested in knowing. If someone wants my detection
FLA, I'd be happy to share it, though it's not that hard to do
from scratch.

---------------------------------------------------
Gregg Caines
n e o m e t r i x systems inc.
http://www.neometrixsystems.com
gcainesatneometrixsystems [dot] com



> I'm starting to feel ignored here ;-) Has anybody yet tried the
> possibilty of using the $version variable which was introduced in Flash
> 4?
> Anyway, Bill, for your purposes this is really straightforward (i.e.
> Flash 4 only no Flash 5)
> Make a new Flash 4 18 x 18 movie with 2 empty keyframes. In frame 1 put
> this code:
>
> SetVariable: playerVersion = Eval("$version") //this is an expression
> SetVariable: thisPlayer = Substring(playerVersion, 5, 1)
>
> In frame 2:
>
> If(thisPlayer = 4) //or maybe 'eq "4"'
> GetUrl: "myFlash4Site.htm"
> Else if (thisPlayer = 5) //as above
> GetUrl: "i don'tlikeFlash5Player.htm"
>
>
> This should work, if you know the user will have either the 4 or 5
> plug-in (maybe not on Mac IE 4.5). Maybe with a META refresh tag it
> could also act as a general 'sniffer' movie, but I haven't tested this.
>
> hth
>
> paul



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre

Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save £200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: flash 5.0 plugin detector, Gregg Caines

Replies
  RE: FLASH: flash 5.0 plugin detector, Paul Willoughby

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