public static function get playerVersion():PlayerVersion
		{
			if (_playerVersion)
				return _playerVersion;
			
			var _playerVersion:PlayerVersion;
			var version:String = Capabilities.version;
			var pattern:RegExp = /^(\w*) (\d*),(\d*),(\d*),(\d*)$/;
			var result:Object = pattern.exec(version);
			
			var input:String = "";
			var platform:String = "";
			var majorVersion:Number = 0;
			var minorVersion:Number = 0;
			var buildNumber:Number = 0;
			var internalBuildNumber:Number = 0;			
			
			if (result != null)
			{
				input = String(result.input);
				platform = String(result[1]);
				majorVersion = Number(result[2]);
				minorVersion = Number(result[3]);
				buildNumber = Number(result[4]);
				internalBuildNumber = Number(result[5]);
			}
			else
			{
				trace("could'nt match RegExp, detect flash version didn't work, using default values");
			}
			
			_playerVersion = new PlayerVersion(input, platform, majorVersion, buildNumber, internalBuildNumber);
			return _playerVersion;
		}

	public class PlayerVersion
	{
		public function PlayerVersion(input:String = "", platform:String = "", majorVersion:Number = 0, buildNumber:Number = 0, internalBuildNumber:Number = 0)
		{
			this.input = input;
			this.platform = platform;
			this.majorVersion = majorVersion;
			this.buildNumber = buildNumber;
			this.internalBuildNumber = internalBuildNumber;
		}
		
		public var input:String;
		public var platform:String;
		public var majorVersion:Number;
		public var buildNumber:Number;
		public var internalBuildNumber:Number;
	}