[Extendflash] Differenciating between Flash 7 and flash 8
Derek Vadneau
extendflash_again at ThunderUnderground.com
Wed Sep 28 21:47:49 PDT 2005
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: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?
More information about the Extendflash
mailing list