Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | FLASH: Platform / version sniffer that will also work in Flash 4 player I Really need this to work |
From: | George Medve |
Date: | Wed, 1 Nov 2000 13:14:17 GMT |
Simple passing of string to tell target what to do isn't working!
I am try to use the "$version" command (which does work in both F4 & F5) to
"sniff" what platform and what version of Flash player they are using. Once
this has been found out the appropriate icon is displayed...simple in
theory..but it won't work with the F4 player, but works fine with F5
player!!
if(subString($version,0,1)== "M"){
tellTarget (clip) {
gotoAndStop("apple");
}
} else if(subString($version,0,1) == "W"){
tellTarget(clip){
gotoAndStop("pc");
}}
But I really need this or something like this to work in F4 player
Anyone got any suggestions?
Thanks
George.
I have tried to create a similar scipt in F4:
Set Variable: "os" = "$version"
If (Substring(os,0,1) =" W")
Begin Tell Target ("/platforrm")
Go to and Play ("windows")
End Tell Target
Else If (Substring(os,0,1) =" M")
Begin Tell Target ("/platforrm")
Go to and Play ("apple")
End Tell Target
End If
But I can't seem to enter $version as an action even though I have seen this
done on: http://www.flashbrothers.com/vers/
_____________________________________________________________________
This message has been checked for all known viruses by UUNET delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.uk.uu.net/products/security/virus/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 helpchinwag [dot] com
Replies
Re: FLASH: Platform / version sniffer th, Gregg Caines
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]