| Package | flash.system |
| Class | public final class Capabilities |
| Inheritance | Capabilities Object |
GET 또는 POST HTTP Methods를 사용하면, 플레이어의 기능 정보를 송신할 수 있습니다. 이 정보는,Capabilities.serverString property에 URL encode 된 string로서 포함되고 있습니다. 다음에, MP3 를 지원(support)해, 해상도가 1600 × 1200 픽셀로, Windows XP 를 실행하고 있어, IME 가 설치(Install) 되고 있는 컴퓨터에 대한 서버 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%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
다음의 겉(표)는, 사용할 수 있는 ActionScript property 및 대응하는 서버 string를 나타내고 있습니다.
| ActionScript property | 서버 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 |
os |
OS |
pixelAspectRatio |
AR |
playerType |
PT |
screenColor |
COL |
screenDPI |
DP |
screenResolutionX |
R |
screenResolutionY |
R |
version |
V |
Capabilities 클래스의 property는, 모두 읽기 전용(read-only)입니다.
See also
| property | 정의 | ||
|---|---|---|---|
| avHardwareDisable : Boolean
[static][read-only]
유저의 카메라와 마이크에게로의 액세스가 관리상 금지되고 있는지 (
true), 또는 허가되고 있는지 (false)를 지정합니다. | Capabilities | ||
![]() | constructor : Object
특정의 object 인스턴스의 클래스 object 또는 constructor 함수에의 참조입니다.
| Object | |
| hasAccessibility : Boolean
[static][read-only]
Flash Player 가 실행되고 있는 환경에서 accessibility 보조와의 통신이 지원(support)되고 있는지 (
true), 또는 지원(support)되어 있지 않은가 (false)를 지정합니다. | Capabilities | ||
| hasAudio : Boolean
[static][read-only]
Flash Player 가 실행되고 있는 시스템에 오디오 기능이 있을지 어떨지를 지정합니다.
| Capabilities | ||
| hasAudioEncoder : Boolean
[static][read-only]
Flash Player 가, 마이크로부터의 입력등의 오디오 스트림(Stream)을 encode 할 수 있는지 (
true), 또는 할 수 없는가 (false)를 지정합니다. | Capabilities | ||
| hasEmbeddedVideo : Boolean
[static][read-only]
Flash Player 가 실행되고 있는 시스템으로 포함된 비디오가 지원(support)되고 있는지 (
true), 또는 지원(support)되어 있지 않은가 (false)를 지정합니다. | Capabilities | ||
| hasIME : Boolean
[static][read-only]
Flash Player 가 실행되고 있는 시스템에 IME 가 설치(Install) 되고 있는지 (
true), 또는 설치(Install)되어 있지 않은가 (false)를 지정합니다. | Capabilities | ||
| hasMP3 : Boolean
[static][read-only]
Flash Player 가 실행되고 있는 시스템에 MP3 디코더가 있는지 (
true), 또는 없는가 (false)를 지정합니다. | Capabilities | ||
| hasPrinting : Boolean
[static][read-only]
Flash Player 가 실행되고 있는 시스템으로 인쇄가 지원(support)되고 있는지 (
true), 또는 지원(support)되어 있지 않은가 (false)를 지정합니다. | Capabilities | ||
| hasScreenBroadcast : Boolean
[static][read-only]
Flash Media Server 를 통해 실행되는 스크린 브로드캐스트 어플리케이션의 개발이 Flash Player 로 지원(support)되고 있는지 (
true), 또는 지원(support)되어 있지 않은가 (false)를 지정합니다. | Capabilities | ||
| hasScreenPlayback : Boolean
[static][read-only]
Flash Media Server 를 통해 실행되고 있는 스크린 브로드캐스트 어플리케이션의 재생이 Flash Player 로 지원(support)되고 있는지 (
true), 또는 지원(support)되어 있지 않은가 (false)를 지정합니다. | Capabilities | ||
| hasStreamingAudio : Boolean
[static][read-only]
Flash Player 가 스트리밍 오디오를 재생할 수 있는지 (
true), 또는 할 수 없는가 (false)를 지정합니다. | Capabilities | ||
| hasStreamingVideo : Boolean
[static][read-only]
Flash Player 가 스트리밍 비디오를 재생할 수 있는지 (
true), 또는 할 수 없는가 (false)를 지정합니다. | Capabilities | ||
| hasTLS : Boolean
[static][read-only]
Flash Player 가 실행되고 있는 시스템으로 NetConnection 에 의한 네이티브 SSL 소켓이 지원(support)되고 있는지 (
true), 또는 지원(support)되어 있지 않은가 (false)를 지정합니다. | Capabilities | ||
| hasVideoEncoder : Boolean
[static][read-only]
Flash Player 가, Web 카메라로부터의 입력등의 비디오 스트림(Stream)을 encode 할 수 있는지 (
true), 또는 할 수 없는가 (false)를 지정합니다. | Capabilities | ||
| isDebugger : Boolean
[static][read-only]
Flash Player 가 디버그용의 특별한 버젼인가 (
true), 또는 정식으로 릴리스 된 버젼인지 (false)를 지정합니다. | Capabilities | ||
| language : String
[static][read-only]
Flash Player 가 실행되고 있는 시스템의 언어 코드를 지정합니다.
| Capabilities | ||
| localFileReadDisable : Boolean
[static][read-only]
유저의 하드 디스크에의 읽어내 액세스가 관리상 금지되고 있는지 (
true), 또는 허가되고 있는지 (false)를 지정합니다. | Capabilities | ||
| manufacturer : String
[static][read-only]
Flash Player 의 제조원을 지정합니다. 형식은 "
Adobe OSName" 입니다. | Capabilities | ||
| os : String
[static][read-only]
현재의 operating system를 지정합니다.
| Capabilities | ||
| pixelAspectRatio : Number
[static][read-only]
화면의 픽셀 종횡비를 지정합니다.
| Capabilities | ||
| playerType : String
[static][read-only]
Flash Player 의 종류를 지정합니다.
| Capabilities | ||
![]() | prototype : Object
[static]
클래스 또는 함수 object의 prototype object에의 참조입니다.
| Object | |
| screenColor : String
[static][read-only]
화면의 색을 지정합니다.
| Capabilities | ||
| screenDPI : Number
[static][read-only]
화면의 1 인치 근처의 닷수 (dpi) 해상도를 픽셀 단위로 지정합니다.
| Capabilities | ||
| screenResolutionX : Number
[static][read-only]
화면의 최대 수평 해상도를 지정합니다.
| Capabilities | ||
| screenResolutionY : Number
[static][read-only]
화면의 최대 수직 해상도를 지정합니다.
| Capabilities | ||
| serverString : String
[static][read-only]
각각의 Capabilities property의 값을 지정하는 URL encode string입니다.
| Capabilities | ||
| version : String
[static][read-only]
Flash Player 의 플랫폼과 버젼 정보를 지정합니다.
| Capabilities | ||
| avHardwareDisable | property |
avHardwareDisable:Boolean [read-only]
유저의 카메라와 마이크에게로의 액세스가 관리상 금지되고 있는지 (true), 또는 허가되고 있는지 (false)를 지정합니다. 서버 string는 AVD 입니다.
public static function get avHardwareDisable():Boolean
See also
| hasAccessibility | property |
hasAccessibility:Boolean [read-only]
Flash Player 가 실행되고 있는 환경에서 accessibility 보조와의 통신이 지원(support)되고 있는지 (true), 또는 지원(support)되어 있지 않은가 (false)를 지정합니다. 서버 string는 ACC 입니다.
public static function get hasAccessibility():Boolean
See also
| hasAudio | property |
hasAudio:Boolean [read-only]
Flash Player 가 실행되고 있는 시스템에 오디오 기능이 있을지 어떨지를 지정합니다. 이 property는 항상 true 입니다. 서버 string는 A 입니다.
public static function get hasAudio():Boolean
| hasAudioEncoder | property |
hasAudioEncoder:Boolean [read-only]
Flash Player 가, 마이크로부터의 입력등의 오디오 스트림(Stream)을 encode 할 수 있는지 (true), 또는 할 수 없는가 (false)를 지정합니다. 서버 string는 AE 입니다.
public static function get hasAudioEncoder():Boolean
| hasEmbeddedVideo | property |
hasEmbeddedVideo:Boolean [read-only]
Flash Player 가 실행되고 있는 시스템으로 포함(Embed)되어 있는 비디오가 지원(support)되고 있는지 (true), 또는 지원(support)되어 있지 않은가 (false)를 지정합니다. 서버 string는 EV 입니다.
public static function get hasEmbeddedVideo():Boolean
| hasIME | property |
hasIME:Boolean [read-only]
Flash Player 가 실행되고 있는 시스템에 IME 가 설치(Install) 되고 있는지 (true), 또는 설치(Install)되어 있지 않은가 (false)를 지정합니다. 서버 string는 IME 입니다.
public static function get hasIME():Boolean
See also
| hasMP3 | property |
hasMP3:Boolean [read-only]
Flash Player 가 실행되고 있는 시스템에 MP3 디코더가 있는지 (true), 또는 없는가 (false)를 지정합니다. 서버 string는 MP3 입니다.
public static function get hasMP3():Boolean
See also
| hasPrinting | property |
hasPrinting:Boolean [read-only]
Flash Player 가 실행되고 있는 시스템으로 인쇄가 지원(support)되고 있는지 (true), 또는 지원(support)되어 있지 않은가 (false)를 지정합니다. 서버 string는 PR 입니다.
public static function get hasPrinting():Boolean
| hasScreenBroadcast | property |
hasScreenBroadcast:Boolean [read-only]
Flash Media Server 를 통해 실행되는 스크린 브로드캐스트 어플리케이션의 개발이 Flash Player 로 지원(support)되고 있는지 (true), 또는 지원(support)되어 있지 않은가 (false)를 지정합니다. 서버 string는 SB 입니다.
public static function get hasScreenBroadcast():Boolean
| hasScreenPlayback | property |
hasScreenPlayback:Boolean [read-only]
Flash Media Server 를 통해 실행되고 있는 스크린 브로드캐스트 어플리케이션의 재생이 Flash Player 로 지원(support)되고 있는지 (true), 또는 지원(support)되어 있지 않은가 (false)를 지정합니다. 서버 string는 SP 입니다.
public static function get hasScreenPlayback():Boolean
| hasStreamingAudio | property |
hasStreamingAudio:Boolean [read-only]
Flash Player 가 스트리밍 오디오를 재생할 수 있는지 (true), 또는 할 수 없는가 (false)를 지정합니다. 서버 string는 SA 입니다.
public static function get hasStreamingAudio():Boolean
| hasStreamingVideo | property |
hasStreamingVideo:Boolean [read-only]
Flash Player 가 스트리밍 비디오를 재생할 수 있는지 (true), 또는 할 수 없는가 (false)를 지정합니다. 서버 string는 SV 입니다.
public static function get hasStreamingVideo():Boolean
| hasTLS | property |
hasTLS:Boolean [read-only]
Flash Player 가 실행되고 있는 시스템으로 NetConnection 에 의한 네이티브 SSL 소켓이 지원(support)되고 있는지 (true), 또는 지원(support)되어 있지 않은가 (false)를 지정합니다. 서버 string는 TLS 입니다.
public static function get hasTLS():Boolean
See also
| hasVideoEncoder | property |
hasVideoEncoder:Boolean [read-only]
Flash Player 가, Web 카메라로부터의 입력등의 비디오 스트림(Stream)을 encode 할 수 있는지 (true), 또는 할 수 없는가 (false)를 지정합니다. 서버 string는 VE 입니다.
public static function get hasVideoEncoder():Boolean
| isDebugger | property |
isDebugger:Boolean [read-only]
Flash Player 가 디버그용의 특별한 버젼인가 (true), 또는 정식으로 릴리스 된 버젼인지 (false)를 지정합니다. 서버 string는 DEB 입니다.
public static function get isDebugger():Boolean
| language | property |
language:String [read-only]
Flash Player 가 실행되고 있는 시스템의 언어 코드를 지정합니다. 언어는, ISO 639-1 에 의한 소문자 2 캐릭터의 언어 코드로 지정됩니다. 중국어에 대해서는, 중공에서 정식으로 쓰는 약자체읏?번체자를 식별하기 위해서 ISO 3166 에 의한 대문자 2 캐릭터의 나라 코드가 추가됩니다. 언어 코드는, 언어의 영어명에 근거합니다. 예를 들어,hu 는 헝가리어를 나타냅니다.
영어의 시스템에서는, 이 property는 언어 코드 (en)만을 돌려주어, 나라 코드는 돌려주지 않습니다. Microsoft Windows 시스템에서는, 이 property는 유저 인터페이스 (UI) 언어를 돌려줍니다. UI 언어는, 모든 메뉴, 다이알로그 박스, 에러 메세지, 헬프 파일등으로 사용되는 언어입니다. 다음의 겉(표)에, 지정할 수 있는 값을 나타냅니다.
| 언어 | 치 |
|---|---|
| 체코어 | cs |
| 덴마크어 | da |
| 네델란드어 | nl |
| 영어 | en |
| 핀란드어 | fi |
| 프랑스어 | fr |
| 독일어 | de |
| 헝가리어 | hu |
| 이탈리아어 | it |
| 일본어 | ja |
| 한국어 | ko |
| 노르웨이어 | no |
| 그 외/불명 | xu |
| 폴란드어 | pl |
| 포르투갈어 | pt |
| 러시아어 | ru |
| 중공에서 정식으로 쓰는 약자체?중국어 | zh-CN |
| 스페인어 | es |
| 스웨덴어 | sv |
| 번체자 중국어 | zh-TW |
| 터키어 | tr |
서버 string는 L 입니다.
public static function get language():String
| localFileReadDisable | property |
localFileReadDisable:Boolean [read-only]
유저의 하드 디스크에의 읽어내 액세스가 관리상 금지되고 있는지 (true), 또는 허가되고 있는지 (false)를 지정합니다. 이 property가 true 의 경우, Flash Player 에서는, 유저의 하드 디스크로부터 파일 (Flash Player 가 기동할 때의 최초의 SWF 파일을 포함한다)을 읽어낼 수가 없습니다. 예를 들어, 로드 Methods를 사용해 유저의 하드 디스크상에 있는 파일을 읽어내려고 해도, 이 property가 true 의 경우는, 읽어내에 실패합니다.
이 property가 true 로 설정되어 있는 경우, 런타임 공유 프로그램 라이브러리의 독해도 실패합니다만, 로컬 공유 object는 이 property의 값에 관계없이 읽어낼 수가 있습니다. 서버 string는 LFD 입니다.
public static function get localFileReadDisable():Boolean
See also
| manufacturer | property |
manufacturer:String [read-only]
Flash Player 의 제조원을 지정합니다. 형식은 "Adobe OSName" 입니다. OSName 의 값은,"Windows","Macintosh","Linux", 또는 다른 operating system명입니다. 서버 string는 M 입니다.
public static function get manufacturer():String
| os | property |
os:String [read-only]
현재의 operating system를 지정합니다. os property의 값은,"Windows XP","Windows 2000","Windows NT","Windows 98/ME","Windows 95","Windows CE" (데스크탑 버젼의 Flash Player 는 아니고 SDK 전용),"Linux","MacOS" 의 머지않아인가입니다. 서버 string는 OS 입니다.
public static function get os():String
| pixelAspectRatio | property |
pixelAspectRatio:Number [read-only]
화면의 픽셀 종횡비를 지정합니다. 서버 string는 AR 입니다.
public static function get pixelAspectRatio():Number
| playerType | property |
playerType:String [read-only]Flash Player 의 종류를 지정합니다. 이 property로 지정할 수 있는 값은, 다음 가운데 머지않아인가입니다.
"StandAlone" - standalone Flash Player"External" - 외부 Flash Player 또는 preview 모드"PlugIn" - Flash Player 브라우저 플러그 인"ActiveX" - Microsoft Internet Explorer 로 사용되는 Flash Player ActiveX 컨트롤서버 string는 PT 입니다.
public static function get playerType():String
| screenColor | property |
screenColor:String [read-only]
화면의 색을 지정합니다. 이 property의 값은,"color","gray" (그레이 스케일), 또는 "bw" (흑백)입니다. 서버 string는 COL 입니다.
public static function get screenColor():String
| screenDPI | property |
screenDPI:Number [read-only]
화면의 1 인치 근처의 닷수 (dpi) 해상도를 픽셀 단위로 지정합니다. 서버 string는 DP 입니다.
public static function get screenDPI():Number
| screenResolutionX | property |
screenResolutionX:Number [read-only]
화면의 최대 수평 해상도를 지정합니다. 서버 string는 R 로, 화면의 폭과 높이의 양쪽 모두를 돌려줍니다.
public static function get screenResolutionX():Number
See also
| screenResolutionY | property |
screenResolutionY:Number [read-only]
화면의 최대 수직 해상도를 지정합니다. 서버 string는 R 로, 화면의 폭과 높이의 양쪽 모두를 돌려줍니다.
public static function get screenResolutionY():Number
See also
| serverString | property |
serverString:String [read-only]각각의 Capabilities property의 값을 지정하는 URL encode string입니다.
URL encode 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=fImplements
public static function get serverString():String
See also
| version | property |
version:String [read-only]
Flash Player 의 플랫폼과 버젼 정보를 지정합니다. 버젼 번호의 형식은,platform majorVersion, minorVersion, buildNumber, internalBuildNumber 입니다. platform 의 유효한 값은,"WIN","MAC", 및"UNIX" 입니다. 버젼 정보의 예를 다음에 나타냅니다.
WIN 9,0,0,0 // Flash Player 9 for Windows MAC 7,0,25,0 // Flash Player 7 for Macintosh UNIX 5,0,55,0 // Flash Player 5 for UNIX
서버 string는 V 입니다.
public static function get version():String
See also
trace() 의 호출을 사용해 flash.system.Capabilities object로 발견되는 값이 단순하게 출력됩니다.
package {
import flash.display.Sprite;
import flash.system.Capabilities;
public class CapabilitiesExample extends Sprite {
public function CapabilitiesExample() {
showCapabilities();
}
private function showCapabilities() :void {
trace("avHardwareDisable: " + Capabilities.avHardwareDisable);
trace("hasAccessibility: " + Capabilities.hasAccessibility);
trace("hasAudio: " + Capabilities.hasAudio);
trace("hasAudioEncoder: " + Capabilities.hasAudioEncoder);
trace("hasEmbeddedVideo: " + Capabilities.hasEmbeddedVideo);
trace("hasMP3: " + Capabilities.hasMP3);
trace("hasPrinting: " + Capabilities.hasPrinting);
trace("hasScreenBroadcast: " + Capabilities.hasScreenBroadcast);
trace("hasScreenPlayback: " + Capabilities.hasScreenPlayback);
trace("hasStreamingAudio: " + Capabilities.hasStreamingAudio);
trace("hasVideoEncoder: " + Capabilities.hasVideoEncoder);
trace("isDebugger: " + Capabilities.isDebugger);
trace("language: " + Capabilities.language);
trace("localFileReadDisable: " + Capabilities.localFileReadDisable);
trace("manufacturer: " + Capabilities.manufacturer);
trace("os: " + Capabilities.os);
trace("pixelAspectRatio: " + Capabilities.pixelAspectRatio);
trace("playerType: " + Capabilities.playerType);
trace("screenColor: " + Capabilities.screenColor);
trace("screenDPI: " + Capabilities.screenDPI);
trace("screenResolutionX: " + Capabilities.screenResolutionX);
trace("screenResolutionY: " + Capabilities.screenResolutionY);
trace("serverString: " + Capabilities.serverString);
trace("version: " + Capabilities.version);
}
}
}
코멘트가 추가되었을 경우, 메일로 받기. | 코멘트 리포트
현재의 페이지: http://flexdocs.kr/docs/flex2/langref/flash/system/Capabilities.html