window.runtime property | window.runtime.flash.system.Capabilities |
Inheritance | Capabilities Object |
Runtime Versions: | 1.0 |
However, some capabilities of Adobe AIR are not listed as properties in the Capabilities class. They are properties of other classes:
Property | Description |
---|---|
NativeApplication.supportsDockIcon
| Whether the operating system supports application doc icons. |
NativeApplication.supportsMenu
| Whether the operating system supports a global application menu bar. |
NativeApplication.supportsSystemTrayIcon
| Whether the operating system supports system tray icons. |
NativeWindow.supportsMenu
| Whether the operating system supports window menus. |
NativeWindow.supportsTransparency
| Whether the operating system supports transparent windows. |
Do not use Capabilities.os
or Capabilities.manufacturer
to
determine a capability based on the operating system. Basing a capability on the operating system
is a bad idea, since it can lead to problems if an application does not consider all potential
target operating systems. Instead, use the property corresponding to the capability for which you
are testing.
You can send capabilities information, which is stored in the
Capabilities.serverString
property as a URL-encoded string, using the
GET
or POST
HTTP method. The following example shows a server
string for a computer that has MP3 support and 1600 x 1200 pixel resolution, that is
running Windows XP with an input method editor (IME) installed, and does not have
support for multichannel audio:
A=t&SA=t&SV=t&EV=t&MP3=t&AE=t&VE=t&ACC=f&PR=t&SP=t& SB=f&DEB=t&V=WIN%209%2C0%2C0%2C0&M=Adobe%20Windows& R=1600x1200&DP=72&COL=color&AR=1.0&OS=Windows%20XP& L=en&PT=External&AVD=f&LFD=f&WD=f&IME=t&DD=f& DDP=f&DTS=f&DTE=f&DTH=f&DTM=f
The following table lists the properties of the Capabilities class and corresponding server strings. It also lists the server strings for the multichannel audio types.
Capabilities class property | Server string |
---|---|
avHardwareDisable
|
AVD
|
hasAccessibility
|
ACC
|
hasAudio
|
A
|
hasAudioEncoder
|
AE
|
hasEmbeddedVideo
|
EV
|
hasIME
|
IME
|
hasMP3
|
MP3
|
hasPrinting
|
PR
|
hasScreenBroadcast
|
SB
|
hasScreenPlayback
|
SP
|
hasStreamingAudio
|
SA
|
hasStreamingVideo
|
SV
|
hasTLS
|
TLS
|
hasVideoEncoder
|
VE
|
isDebugger
|
DEB
|
language
|
L
|
localFileReadDisable
|
LFD
|
manufacturer
|
M
|
maxLevelIDC
|
ML
|
os
|
OS
|
pixelAspectRatio
|
AR
|
playerType
|
PT
|
screenColor
|
COL
|
screenDPI
|
DP
|
screenResolutionX
|
R
|
screenResolutionY
|
R
|
version
|
V
|
supports Dolby Digital audio
|
DD
|
supports Dolby Digital Plus audio
|
DDP
|
supports DTS audio
|
DTS
|
supports DTS Express audio
|
DTE
|
supports DTS-HD High Resolution Audio
|
DTH
|
supports DTS-HD Master Audio
|
DTM
|
There is also a WD
server string that specifies whether windowless mode is disabled. Windowless mode
can be disabled in Flash Player due to incompatibility with the web browser or to a user setting in the mms.cfg file.
There is no corresponding Capabilities property.
All properties of the Capabilities class are read-only.
See also
Property | Defined By | ||
---|---|---|---|
avHardwareDisable : Boolean [static] [read-only]
Specifies whether access to the user's camera and microphone has
been administratively prohibited (true) or allowed (false). | Capabilities | ||
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | ||
cpuArchitecture : String [static] [read-only]
Specifies the current CPU architecture. | Capabilities | ||
hasAccessibility : Boolean [static] [read-only]
Specifies whether the system supports
(true) or does not support (false) communication
with accessibility aids. | Capabilities | ||
hasAudio : Boolean [static] [read-only]
Specifies whether the system has audio
capabilities. | Capabilities | ||
hasAudioEncoder : Boolean [static] [read-only]
Specifies whether the system can (true) or cannot (false)
encode an audio stream, such as that coming from a microphone. | Capabilities | ||
hasEmbeddedVideo : Boolean [static] [read-only]
Specifies whether the system supports
(true) or does not support (false)
embedded video. | Capabilities | ||
hasIME : Boolean [static] [read-only]
Specifies whether the system does (true)
or does not (false) have an input method editor (IME) installed. | Capabilities | ||
hasMP3 : Boolean [static] [read-only]
Specifies whether the system does (true)
or does not (false) have an MP3 decoder. | Capabilities | ||
hasPrinting : Boolean [static] [read-only]
Specifies whether the system does (true)
or does not (false) support printing. | Capabilities | ||
hasScreenBroadcast : Boolean [static] [read-only]
Specifies whether the system does (true) or does not (false)
support the development of screen broadcast applications to be run through Flash Media
Server. | Capabilities | ||
hasScreenPlayback : Boolean [static] [read-only]
Specifies whether the system does (true) or does not
(false) support the playback of screen broadcast applications
that are being run through Flash Media Server. | Capabilities | ||
hasStreamingAudio : Boolean [static] [read-only]
Specifies whether the system can (true) or cannot (false)
play streaming audio. | Capabilities | ||
hasStreamingVideo : Boolean [static] [read-only]
Specifies whether the system can (true) or cannot
(false) play streaming video. | Capabilities | ||
hasTLS : Boolean [static] [read-only]
Specifies whether the system supports native SSL sockets through NetConnection
(true) or does not (false). | Capabilities | ||
hasVideoEncoder : Boolean [static] [read-only]
Specifies whether the system can (true) or cannot
(false) encode a video stream, such as that coming
from a web camera. | Capabilities | ||
isDebugger : Boolean [static] [read-only]
Specifies whether the system is a special debugging version
(true) or an officially released version (false). | Capabilities | ||
isEmbeddedInAcrobat : Boolean [static] [read-only]
Specifies whether the Flash runtime is embedded in a PDF file that is open in Acrobat 9.0 or higher
(true) or not (false). | Capabilities | ||
language : String [static] [read-only]
Specifies the language code of the system on which the content is running. | Capabilities | ||
languages : Array [static] [read-only]
An array of strings that contain information about the user's preferred user interface languages, as set
through the operating system. | Capabilities | ||
localFileReadDisable : Boolean [static] [read-only]
Specifies whether read access to the user's hard disk has been
administratively prohibited (true) or allowed
(false). | Capabilities | ||
manufacturer : String [static] [read-only]
Specifies the manufacturer of the running version of
Flash Player or the AIR runtime, in the format "Adobe
OSName". | Capabilities | ||
maxLevelIDC : String [static] [read-only]
Retrieves the highest H.264 Level IDC that the client hardware supports. | Capabilities | ||
os : String [static] [read-only]
Specifies the current operating system. | Capabilities | ||
pixelAspectRatio : Number [static] [read-only]
Specifies the pixel aspect ratio of the screen. | Capabilities | ||
playerType : String [static] [read-only]
Specifies the type of runtime environment. | Capabilities | ||
prototype : Object [static]
A reference to the prototype object of a class or function object. | Object | ||
screenColor : String [static] [read-only]
Specifies the screen color. | Capabilities | ||
screenDPI : Number [static] [read-only]
Specifies the dots-per-inch (dpi) resolution of the screen, in pixels. | Capabilities | ||
screenResolutionX : Number [static] [read-only]
Specifies the maximum horizontal resolution of the screen. | Capabilities | ||
screenResolutionY : Number [static] [read-only]
Specifies the maximum vertical resolution of the screen. | Capabilities | ||
serverString : String [static] [read-only]
A URL-encoded string that specifies values for each Capabilities
property. | Capabilities | ||
supports32BitProcesses : Boolean [static] [read-only]
Specifies whether the system supports running 32-bit processes. | Capabilities | ||
supports64BitProcesses : Boolean [static] [read-only]
Specifies whether the system supports running 64-bit processes. | Capabilities | ||
touchscreenType : String [static] [read-only]
Specifies the type of touchscreen supported, if any. | Capabilities | ||
version : String [static] [read-only]
Returns Flash Player version information. | Capabilities |
Method | Defined By | ||
---|---|---|---|
hasMultiChannelAudio(type:String):Boolean [static]
Specifies whether the system supports multichannel audio of a specific
type. | Capabilities | ||
hasOwnProperty(name:String):Boolean
Indicates whether an object has a specified property defined. | Object | ||
isPrototypeOf(theClass:Object):Boolean
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
propertyIsEnumerable(name:String):Boolean
Indicates whether the specified property exists and is enumerable. | Object | ||
setPropertyIsEnumerable(name:String, isEnum:Boolean = true):void
Sets the availability of a dynamic property for loop operations. | Object | ||
toLocaleString():String
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
toString():String
Returns the string representation of the specified object. | Object | ||
valueOf():Object
Returns the primitive value of the specified object. | Object |
avHardwareDisable | property |
avHardwareDisable:Boolean
[read-only] Runtime Versions: | 1.0 |
Specifies whether access to the user's camera and microphone has
been administratively prohibited (true
) or allowed (false
).
The server string is AVD
.
For content in Adobe AIR™, this property applies only to content in security sandboxes other than the application security sandbox. Content in the application security sandbox can always access the user's camera and microphone.
See also
cpuArchitecture | property |
cpuArchitecture:String
[read-only] Runtime Versions: | 1.5.1 |
Specifies the current CPU architecture. The cpuArchitecture
property
can return the following strings: "PowerPC
", "x86
",
"SPARC
", and "ARM
".
The server string is ARCH
.
hasAccessibility | property |
hasAccessibility:Boolean
[read-only] Runtime Versions: | 1.0 |
Specifies whether the system supports
(true
) or does not support (false
) communication
with accessibility aids.
The server string is ACC
.
hasAudio | property |
hasAudio:Boolean
[read-only] Runtime Versions: | 1.0 |
Specifies whether the system has audio
capabilities. This property is always true
. The server
string is A
.
hasAudioEncoder | property |
hasAudioEncoder:Boolean
[read-only] Runtime Versions: | 1.0 |
Specifies whether the system can (true
) or cannot (false
)
encode an audio stream, such as that coming from a microphone.
The server string is AE
.
hasEmbeddedVideo | property |
hasEmbeddedVideo:Boolean
[read-only] Runtime Versions: | 1.0 |
Specifies whether the system supports
(true
) or does not support (false
)
embedded video. The server string is EV
.
hasIME | property |
hasIME:Boolean
[read-only] Runtime Versions: | 1.0 |
Specifies whether the system does (true
)
or does not (false
) have an input method editor (IME) installed.
The server string is IME
.
See also
hasMP3 | property |
hasMP3:Boolean
[read-only] Runtime Versions: | 1.0 |
Specifies whether the system does (true
)
or does not (false
) have an MP3 decoder.
The server string is MP3
.
See also
hasPrinting | property |
hasPrinting:Boolean
[read-only] Runtime Versions: | 1.0 |
Specifies whether the system does (true
)
or does not (false
) support printing.
The server string is PR
.
hasScreenBroadcast | property |
hasScreenBroadcast:Boolean
[read-only] Runtime Versions: | 1.0 |
Specifies whether the system does (true
) or does not (false
)
support the development of screen broadcast applications to be run through Flash Media
Server.
The server string is SB
.
hasScreenPlayback | property |
hasScreenPlayback:Boolean
[read-only] Runtime Versions: | 1.0 |
Specifies whether the system does (true
) or does not
(false
) support the playback of screen broadcast applications
that are being run through Flash Media Server.
The server string is SP
.
hasStreamingAudio | property |
hasStreamingAudio:Boolean
[read-only] Runtime Versions: | 1.0 |
Specifies whether the system can (true
) or cannot (false
)
play streaming audio.
The server string is SA
.
hasStreamingVideo | property |
hasStreamingVideo:Boolean
[read-only] Runtime Versions: | 1.0 |
Specifies whether the system can (true
) or cannot
(false
) play streaming video.
The server string is SV
.
hasTLS | property |
hasTLS:Boolean
[read-only] Runtime Versions: | 1.0 |
Specifies whether the system supports native SSL sockets through NetConnection
(true
) or does not (false
).
The server string is TLS
.
See also
hasVideoEncoder | property |
hasVideoEncoder:Boolean
[read-only] Runtime Versions: | 1.0 |
Specifies whether the system can (true
) or cannot
(false
) encode a video stream, such as that coming
from a web camera.
The server string is VE
.
isDebugger | property |
isDebugger:Boolean
[read-only] Runtime Versions: | 1.0 |
Specifies whether the system is a special debugging version
(true
) or an officially released version (false
).
The server string is DEB
. This property is set to true
when running in
the AIR Debug Launcher (ADL).
isEmbeddedInAcrobat | property |
isEmbeddedInAcrobat:Boolean
[read-only] Runtime Versions: | 1.1 |
Specifies whether the Flash runtime is embedded in a PDF file that is open in Acrobat 9.0 or higher
(true
) or not (false
).
See also
language | property |
language:String
[read-only] Runtime Versions: | 1.0 |
Specifies the language code of the system on which the content is running. The language is
specified as a lowercase two-letter language code from ISO 639-1. For Chinese, an additional
uppercase two-letter country code from ISO 3166 distinguishes between Simplified and
Traditional Chinese. The languages codes are based on the English names of the language: for example,
hu
specifies Hungarian.
On English systems, this property returns only the language code (en
), not
the country code. On Microsoft Windows systems, this property returns the user interface (UI)
language, which refers to the language used for all menus, dialog boxes, error messages, and help
files. The following table lists the possible values:
Language | Value |
---|---|
Czech | cs |
Danish | da |
Dutch | nl |
English | en |
Finnish | fi |
French | fr |
German | de |
Hungarian | hu |
Italian | it |
Japanese | ja |
Korean | ko |
Norwegian | no |
Other/unknown | xu |
Polish | pl |
Portuguese | pt |
Russian | ru |
Simplified Chinese | zh-CN |
Spanish | es |
Swedish | sv |
Traditional Chinese | zh-TW |
Turkish | tr |
Note: The value of Capabilities.language
property is limited
to the possible values on this list. Because of this limitation, Adobe AIR applications
should use the first element in the Capabilities.languages
array to determine the primary user interface language for the system.
The server string is L
.
See also
languages | property |
languages:Array
[read-only] Runtime Versions: | 1.1 |
An array of strings that contain information about the user's preferred user interface languages, as set
through the operating system. The strings will contain language tags (and script and region information,
where applicable) defined by RFC4646
(http://www.ietf.org/rfc/rfc4646.txt)
and will use dashes as a delimiter (for example, "en-US"
or "ja-JP"
).
Languages are listed in the array in the order of preference, as determined by the operating system
settings.
Operating systems differ in region information returned in locale strings. One operating system
may return "en-us"
, whereas another may return "en"
.
The first entry in the returned array generally has the same primary language ID
as the Capabilities.language
property. For example, if Capabilities.languages[0]
is set to "en-US"
, then the language
property is set to "en"
.
However, if the Capabilities.language
property is set to "xu"
(specifying
an unknown language), the first element in this array will be different. For this reason,
Capabilities.languages[0]
can be more accurate than Capabilities.language
.
The server string is LS
.
localFileReadDisable | property |
localFileReadDisable:Boolean
[read-only] Runtime Versions: | 1.0 |
Specifies whether read access to the user's hard disk has been
administratively prohibited (true
) or allowed
(false
). For content in Adobe AIR, this property
applies only to content in security sandboxes other
than the application security sandbox. (Content in the application
security sandbox can always read from the file system.)
If this property is true
, AIR content outside of the
application security sandbox cannot read files from the user's
hard disk. For example, attempts to read a file on the user's
hard disk using load methods will fail if this property
is set to true
.
The server string is LFD
.
manufacturer | property |
manufacturer:String
[read-only] Runtime Versions: | 1.0 |
Specifies the manufacturer of the AIR runtime, in the format "Adobe
OSName"
. The value for OSName
could be "Windows"
, "Macintosh"
,
"Linux"
, or another operating system name. The server string is M
.
Do not use Capabilities.manufacturer
to determine a capability based on
the operating system if a more specific capability property exists. Basing a capability on the operating
system is a bad idea, since it can lead to problems if an application does not consider all potential
target operating systems. Instead, use the property corresponding to the capability for which you
are testing. For more information, see the Capabilities class description.
maxLevelIDC | property |
maxLevelIDC:String
[read-only] Runtime Versions: | 1.5 |
Retrieves the highest H.264 Level IDC that the client hardware supports. Media run at this level are guaranteed to run; however, media run at the highest level might not run with the highest quality. This property is useful for servers trying to target a client's capabilities. Using this property, a server can determine the level of video to send to the client.
The server string is ML
.
os | property |
os:String
[read-only] Runtime Versions: | 1.0 |
Specifies the current operating system. The os
property
can return the following strings:
Operating system | Value |
---|---|
Windows 7 | "Windows 7" |
Windows Vista | "Windows Vista" |
Windows Server 2008 R2 | "Windows Server 2008 R2" |
Windows Server 2008 | "Windows Server 2008" |
Windows Home Server | "Windows Home Server" |
Windows Server 2003 R2 | "Windows Server 2003 R2" |
Windows Server 2003 | "Windows Server 2003" |
Windows XP 64 | "Windows Server XP 64" |
Windows XP | "Windows XP" |
Windows 98 | "Windows 98" |
Windows 95 | "Windows 95" |
Windows NT | "Windows NT" |
Windows 2000 | "Windows 2000" |
Windows ME | "Windows ME" |
Windows CE | "Windows CE" |
Windows SmartPhone | "Windows SmartPhone" |
Windows PocketPC | "Windows PocketPC" |
Windows CEPC | "Windows CEPC" |
Windows Mobile | "Windows Mobile" |
Mac OS | "Mac OS X.Y.Z" (where X.Y.Z is the version number, for example:
"Mac OS 10.5.2" ) |
Linux | "Linux" (Flash Player attaches the Linux version, such as "Linux 2.6.15-1.2054_FC5smp" |
iPhone OS 4.1 | "iPhone3,1" |
The server string is OS
.
Do not use Capabilities.os
to determine a capability based on
the operating system if a more specific capability property exists. Basing a capability on the operating
system is a bad idea, since it can lead to problems if an application does not consider all potential
target operating systems. Instead, use the property corresponding to the capability for which you
are testing. For more information, see the Capabilities class description.
pixelAspectRatio | property |
pixelAspectRatio:Number
[read-only] Runtime Versions: | 1.0 |
Specifies the pixel aspect ratio of the screen. The server string
is AR
.
playerType | property |
playerType:String
[read-only] Runtime Versions: | 1.0 |
Specifies the type of runtime environment. This property can have one of the following values:
"ActiveX"
for the Flash Player ActiveX control used by Microsoft Internet Explorer"Desktop"
for the Adobe AIR runtime (except for SWF content loaded by an HTML page, which hasCapabilities.playerType
set to"PlugIn"
)"External"
for the external Flash Player or in test mode"PlugIn"
for the Flash Player browser plug-in (and for SWF content loaded by an HTML page in an AIR application)"StandAlone"
for the stand-alone Flash Player
The server string is PT
.
screenColor | property |
screenColor:String
[read-only] Runtime Versions: | 1.0 |
Specifies the screen color. This property can have the value
"color"
, "gray"
(for grayscale), or
"bw"
(for black and white).
The server string is COL
.
screenDPI | property |
screenDPI:Number
[read-only] Runtime Versions: | 1.0 |
Specifies the dots-per-inch (dpi) resolution of the screen, in pixels.
The server string is DP
.
screenResolutionX | property |
screenResolutionX:Number
[read-only] Runtime Versions: | 1.0 |
Specifies the maximum horizontal resolution of the screen.
The server string is R
(which returns both the width and height of the screen).
This property does not update with a user's screen resolution and instead only indicates the resolution
at the time an Adobe AIR application started.
Also, the value only specifies the primary screen.
See also
screenResolutionY | property |
screenResolutionY:Number
[read-only] Runtime Versions: | 1.0 |
Specifies the maximum vertical resolution of the screen.
The server string is R
(which returns both the width and height of the screen).
This property does not update with a user's screen resolution and instead only indicates the resolution
at the time an Adobe AIR application started.
Also, the value only specifies the primary screen.
See also
serverString | property |
serverString:String
[read-only] Runtime Versions: | 1.0 |
A URL-encoded string that specifies values for each Capabilities property.
The following example shows a URL-encoded string:
A=t&SA=t&SV=t&EV=t&MP3=t&AE=t&VE=t&ACC=f&PR=t&SP=t& SB=f&DEB=t&V=WIN%208%2C5%2C0%2C208&M=Adobe%20Windows& R=1600x1200&DP=72&COL=color&AR=1.0&OS=Windows%20XP& L=en&PT=External&AVD=f&LFD=f&WD=f
See also
supports32BitProcesses | property |
supports32BitProcesses:Boolean
[read-only] Runtime Versions: | 1.5.2 |
Specifies whether the system supports running 32-bit processes.
The server string is PR32
.
supports64BitProcesses | property |
supports64BitProcesses:Boolean
[read-only] Runtime Versions: | 1.5.2 |
Specifies whether the system supports running 64-bit processes.
The server string is PR64
.
touchscreenType | property |
touchscreenType:String
[read-only] Runtime Versions: | 2 |
Specifies the type of touchscreen supported, if any. Values are defined in the flash.system.TouchscreenType class.
See also
version | property |
version:String
[read-only] Runtime Versions: | 1.0 |
Returns Flash Player version information. The format of the version number is:
platform majorVersion,minorVersion,buildNumber,internalBuildNumber.
Possible values for platform are "WIN"
, "MAC"
,
"LNX"
, "AND"
, and "TV"
. Here are some
examples of version information:
WIN 9,0,0,0 // Flash Player 9 for Windows MAC 7,0,25,0 // Flash Player 7 for Macintosh LNX 9,0,115,0 // Flash Player 9 for Linux AND 10,2,150,0 // Flash Player 10 for Android
Do not use Capabilities.version
to determine a capability based on
the operating system if a more specific capability property exists. Basing a capability on the operating
system is a bad idea, since it can lead to problems if an application does not consider all potential
target operating systems. Instead, use the property corresponding to the capability for which you
are testing. For more information, see the Capabilities class description.
The server string is V
.
See also
hasMultiChannelAudio | () | method |
public function hasMultiChannelAudio(type:String):Boolean
Runtime Versions: | 3 |
Specifies whether the system supports multichannel audio of a specific type. The class flash.media.AudioDecoder enumerates the possible types.
Note: When using one of the DTS audio codecs, scenarios exist in which
hasMultiChannelAudio()
returns true
but the DTS audio is not played.
For example, consider a Blu-ray player with an S/PDIF output, connected to an old amplifier.
The old amplifier does not support DTS, but S/PDIF has no protocol to notify the Blu-ray player.
If the Blu-ray player sends the DTS stream to the old amplifier, the user hears nothing.
Therefore, as a best practice when using DTS, provide a user interface so that the user can
indicate if no sound is playing. Then, your application can revert to a different codec.
The following table shows the server string for each multichannel audio type:
Multichannel audio type | Server string |
---|---|
AudioDecoder.DOLBY_DIGITAL | DD |
AudioDecoder.DOLBY_DIGITAL_PLUS | DDP |
AudioDecoder.DTS | DTS |
AudioDecoder.DTS_EXPRESS | DTE |
AudioDecoder.DTS_HD_HIGH_RESOLUTION_AUDIO | DTH |
AudioDecoder.DTS_HD_MASTER_AUDIO | DTM |
Parameters
type:String — A String value representing a multichannel audio type.
The valid values are the constants defined in flash.media.AudioDecoder.
|
Boolean — The Boolean value true if the system
supports the multichannel audio type passed in the type parameter.
Otherwise, the return value is false .
|
See also
Example ( How to use this example )
hasMultiChannelAudio()
.
The return value indicates whether the system supports Dolby Digital multichannel audio.
trace(Capabilities.hasMultiChannelAudio(flash.media.AudioDecoder.DOLBY_DIGITAL);
trace()
.
Note: To test this example:
- Add the AIRAliases.js file to the project directory.
- Create an application descriptor file for the project, and test the project using ADL.
<html> <head> <script src="AIRAliases.js" /> <script> function init() { showCapabilities(); } function showCapabilities() { air.trace("avHardwareDisable: " + air.Capabilities.avHardwareDisable); air.trace("hasAccessibility: " + air.Capabilities.hasAccessibility); air.trace("hasAudio: " + air.Capabilities.hasAudio); air.trace("hasAudioEncoder: " + air.Capabilities.hasAudioEncoder); air.trace("hasEmbeddedVideo: " + air.Capabilities.hasEmbeddedVideo); air.trace("hasMP3: " + air.Capabilities.hasMP3); air.trace("hasPrinting: " + air.Capabilities.hasPrinting); air.trace("hasScreenBroadcast: " + air.Capabilities.hasScreenBroadcast); air.trace("hasScreenPlayback: " + air.Capabilities.hasScreenPlayback); air.trace("hasStreamingAudio: " + air.Capabilities.hasStreamingAudio); air.trace("hasVideoEncoder: " + air.Capabilities.hasVideoEncoder); air.trace("isDebugger: " + air.Capabilities.isDebugger); air.trace("language: " + air.Capabilities.language); air.trace("localFileReadDisable: " + air.Capabilities.localFileReadDisable); air.trace("manufacturer: " + air.Capabilities.manufacturer); air.trace("os: " + air.Capabilities.os); air.trace("pixelAspectRatio: " + air.Capabilities.pixelAspectRatio); air.trace("playerType: " + air.Capabilities.playerType); air.trace("screenColor: " + air.Capabilities.screenColor); air.trace("screenDPI: " + air.Capabilities.screenDPI); air.trace("screenResolutionX: " + air.Capabilities.screenResolutionX); air.trace("screenResolutionY: " + air.Capabilities.screenResolutionY); air.trace("serverString: " + air.Capabilities.serverString); air.trace("version: " + air.Capabilities.version); } </script> </head> <body onload='init()'> </body> </html>
Thu Sep 29 2011, 02:34 AM -07:00