[Extendflash] Differenciating between Flash 7 and flash 8

Jarrad Hope jhope at lungshrimp.com
Thu Sep 29 11:20:35 PDT 2005


Nothing at all, fl.version is what I use

On Thu, 29 Sep 2005 09:58:29 +0800, Keith Peters <kp at bit-101.com> wrote:

> what's wrong with fl.version?
>
>   _____
>
> From: extendflash-bounces at flashguru.co.uk
> [mailto:extendflash-bounces at flashguru.co.uk] On Behalf Of Lanny McNie
> Sent: Wednesday, September 28, 2005 6:46 PM
> To: extendflash at flashguru.co.uk
> Subject: Re: [Extendflash] Differenciating between Flash 7 and flash 8
>
>
> I often check the availability of a flash 8-only jsfl function
>
> function is8() {
>   return (fl.browseForFolderURL == undefined);
> }
>
> Interesting side note: While testing this initially, I noticed that  
> tracing
> a built-in function returned some pseudo code, further investigation  
> showed
> that tracing a homemade JSFL method would actually trace out the  
> function as
> code.
>
>
> On 9/28/05, Derek Vadneau <extendflash_again at thunderunderground.com
> <mailto:extendflash_again at thunderunderground.com> > wrote:
>
> The Flash IDEs use the authoring player regardless of the installed
> browser player, so it is specific to the IDE.
>
> var v:Array = System.capabilities.version.split(' ');
> var vn:Array = v[1].split(',');
> if (Number(vn[0]) == 7)
> {
> // Flash MX 2004
> }
> else
> {
> // Flash 8
> }
>
>
> Derek Vadneau
>
>
> -----Original Message-----
> From: extendflash-bounces at flashguru.co.uk
> [mailto:  <mailto:extendflash-bounces at flashguru.co.uk>
> extendflash-bounces at flashguru.co.uk] On Behalf Of Ibis Fernandez
> Sent: Wednesday, September 28, 2005 8:41 PM
> To: extendflash at flashguru.co.uk
> Subject: [Extendflash] Differenciating between Flash 7 and flash 8
>
>
> Do to some of the changes between the JSFL for Flash 7 and that for Flash
> 8,
> I'm having to do some updating on some of my extensions.
>
> My question is, is there a function or method I can use so my extension
> can
> tell which version of flash it being used on, so that for example if the
> user has flash 8 or greater that certain function will be available that
> can
> make use of the new code, while if the user is using flash 7 then they  
> can
> continue to use the same original functions?
>
>
> _______________________________________________
> Extendflash mailing list
> Extendflash at flashguru.co.uk
> http://lists.flashguru.co.uk/mailman/listinfo/extendflash
>
>
>
>
>




More information about the Extendflash mailing list