ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
org.osmf.utils 

Version  - AS3 OSMF

Packageorg.osmf.utils
Classpublic class Version
InheritanceVersion Inheritance Object

Language Version: ActionScript 3.0
Product Version: OSMF 1.0
Runtime Versions: Flash Player 10, AIR 1.5

Utility class that exposes OSMF version information.



Public Properties
 PropertyDefined By
  buildNumber : String
[static] [read-only]
Version
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  version : String
[static] [read-only] The version string in the format of {major}.{minor}.
Version
Public Methods
 MethodDefined By
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Property Detail

buildNumber

property
buildNumber:String  [read-only]



Implementation
    public static function get buildNumber():String

version

property 
version:String  [read-only]

Language Version: ActionScript 3.0
Product Version: OSMF 1.0
Runtime Versions: Flash Player 10, AIR 1.5

The version string in the format of {major}.{minor}.

The version comparison rules are as follows, assuming there are v1 and v2:

          v1 > v2, if ((v1.major > v2.major) || 
                       (v1.major == v2.major && v1.minor > v2.minor)
          
          v1 == v2, if (v1.major == v2.major && 
                       v1.minor == v2.minor) 
          
          v1 < v2 //otherwise
          


Implementation
    public static function get version():String