Package | org.osmf.utils |
Class | public class Version |
Inheritance | Version Object |
Language Version: | ActionScript 3.0 |
Product Version: | OSMF 1.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Public Properties
Property | Defined By | ||
---|---|---|---|
buildNumber : String [static] [read-only] | Version | ||
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | ||
prototype : Object [static]
A reference to the prototype object of a class or function object. | Object | ||
version : String [static] [read-only]
The version string in the format of {major}.{minor}. | Version |
Public Methods
Property Detail
buildNumber | property |
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
Mon Nov 28 2011, 06:48 AM -08:00