Flasher Archive

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


Subject: RE: FLASH: flash 5.0 plugin detector
From: Paul Willoughby
Date: Tue, 14 Nov 2000 16:40:47 GMT

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

Bill Ristine wrote on 14 November 2000

>
> I am trying to find away to prevent Flash4 movies opening
> in Flash5 until
> Macromedia fixes the bugs...Any suggestions?
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
  Re: FLASH: flash 5.0 plugin detector, PSWoods

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