The following example shows how you can use JSFL to determine which build number of the Flash Authoring IDE you have installed using the fl.version property.
Full code after the jump.
// JSFL alert(fl.version); // WIN 10,0,0,544
Note, the fl.version returns the version of the Flash Authoring IDE itself, not the Flash Player version. To get the Flash Player version, you would use the Capabilities.version property in ActionScript, as seen in the following example:
// ActionScript 3.0 trace(Capabilities.version); // WIN 10,0,2,54
Update (Dec. 3, 2008): For more information on checking for available updates in Flash CS4, check out “Updating to the latest version of Flash CS4 using the Adobe Updater”.
{ 0 comments… add one now }