Flasher Archive

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


Subject: Re: FLASH: Platform / version sniffer that will also work in Flash 4 player I Really need this to work
From: ifx
Date: Wed, 1 Nov 2000 18:18:56 GMT

Yea, just a hunch but you spelled "platform" wrong, so unless you did that
on purpose, you might check the spelling of the instance to see if it
matches the way you have it spelled in the script. Sometimes it's the simple
things.

Alan

W I L S O N : I N T E R A C T I V E
http://www.wilson-interactive.com
m o t i o n g r a p h i c s d e s i g n
=================================
Every noble work is at first impossible.
-- Thomas Carlyle


>
> Ok, I have got this to work in the Flash 4 player...this code was written in
>
> Flash 4, but the Tell target is still not working.
>
> Before anyone says that that there must be a targeting error, don't, there
> are no other moviclips on the stage and the instance name is correct.
>
> Set Variable: "playerVersion" = eval ("$version")
> If (Substring(playerVersion,0,1) ="W")
> Begin Tell Target ("/platforrm")
> Go to and Play ("windows")
> End Tell Target
> Else If (Substring(playerVersion,0,1) ="M")
> Begin Tell Target ("/platforrm")
> Go to and Play ("apple")
> End Tell Target
> End If
>
>
>
> Anyone got any ideas?
>
>
>
> -----Original Message-----
> From: George Medve [george [dot] medveatpres [dot] co [dot] uk (mailto:george [dot] medveatpres [dot] co [dot] uk)]
> Sent: 01 November 2000 10:09
> To: 'flasheratchinwag [dot] com'
> Subject: FLASH: Platform / version sniffer that will also work in Flash
> 4 player I Really need this to work
> Importance: High
>
>
>
> 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 helpatchinwag [dot] com
>
> _____________________________________________________________________
> 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 helpatchinwag [dot] com
>
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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: Platform / version sniffer th, George Medve

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