If you are just looking to perform different actions per flash version...

Using a flash 7 movie (have not checked 8 but assume it would work on that
as well) you can check what version of flash the client is being used.

Then code specific actions for that version of flash to execute. In one
project I used the following .... (it's a bit of a bodge but works :o) )

//On frame 1 I checked for to see if flash 5 sytax was supported.

        var checkFlash5 = true;

        // as flash 4 player does not support _root this condition will
return  false 
        // as 4 is no good displayed anim asking them to upgrade :o)
        if (_root.checkFlash5) 
        { 
                gotoAndPlay (4);
        }
        else
        {
                play();
        }


// on frame 2 

        // contain any actions you wish to perform for a flash 4 player and
        stop();

// on frame 4

        // contains code to check flash player versions

        o = new Object ();
        o.version = getVersion().split(",");
        o.majorVersion = int(substring(o.version[0],o.version[0].length,
1));
        o.minorVersion = int(o.version[2]);

        // you can then perform any actions you wish to depending on version
        

Hope that this is maybe of some help

Ali


-----Original Message-----
From: Éric Thibault [mailto:[EMAIL PROTECTED] 
Sent: 07 December 2005 15:16
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Can FCS detect player version?

Just an idea:

If you place a flash 3, 4 or 5 inside your HTML and inside that flash 
you detect the version, you could than loadMovie a SWF accordingly?

What happens if I load a 8 SWF inside a 5 SWF.... are my 8 
fonctionnalities still execute? :-\

A+

inbox.flash wrote:

>
>    Is there a way without using javascript, for a flash app (maybe 
> FCS?) to detect the player version? Need to send the right stream 
> depending on flavor.
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>


-- 
===============================================================

Éric Thibault
Programmeur analyste
Réseau de valorisation de l'enseignement
Université Laval, pavillon Félix-Antoine Savard
Québec, Canada
Tel.: 656-2131 poste 18015
Courriel : [EMAIL PROTECTED]

===============================================================

Avis relatif à la confidentialité / Notice of Confidentiality / Advertencia
de confidencialidad
<http://www.rec.ulaval.ca/lce/securite/confidentialite.htm>

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Dyson -- the cleaner that doesn't lose suction.

http://www.dyson.com
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to