Adobe® Flash® Platform용 ActionScript® 3.0 참조 설명서
 |  패키지 및 클래스 목록 숨기기 |  패키지  |  클래스  |  새로운 내용  |  색인  |  부록  |  영어로 표시되는 이유
필터: AIR 30.0 이하, Flash Player 30.0 이하, Flash Lite 4
Flex 4.6 이하, Flash Pro CS6 이하
필터 숨기기
flash.system 

Capabilities  - AS3

패키지x

최상위 레벨
adobe.utils
air.desktop
air.net
air.update
air.update.events
coldfusion.air
coldfusion.air.errors
coldfusion.air.events
coldfusion.service
coldfusion.service.events
coldfusion.service.mxml
com.adobe.acm.solutions.authoring.domain.extensions
com.adobe.acm.solutions.ccr.domain.extensions
com.adobe.consulting.pst.vo
com.adobe.dct.component
com.adobe.dct.component.datadictionary
com.adobe.dct.component.datadictionaryElement
com.adobe.dct.component.dataElementsPanel
com.adobe.dct.component.toolbars
com.adobe.dct.event
com.adobe.dct.exp
com.adobe.dct.model
com.adobe.dct.service
com.adobe.dct.service.provider
com.adobe.dct.transfer
com.adobe.dct.util
com.adobe.dct.view
com.adobe.ep.taskmanagement.domain
com.adobe.ep.taskmanagement.event
com.adobe.ep.taskmanagement.filter
com.adobe.ep.taskmanagement.services
com.adobe.ep.taskmanagement.util
com.adobe.ep.ux.attachmentlist.component
com.adobe.ep.ux.attachmentlist.domain
com.adobe.ep.ux.attachmentlist.domain.events
com.adobe.ep.ux.attachmentlist.domain.renderers
com.adobe.ep.ux.attachmentlist.skin
com.adobe.ep.ux.attachmentlist.skin.renderers
com.adobe.ep.ux.content.event
com.adobe.ep.ux.content.factory
com.adobe.ep.ux.content.handlers
com.adobe.ep.ux.content.managers
com.adobe.ep.ux.content.model.asset
com.adobe.ep.ux.content.model.preview
com.adobe.ep.ux.content.model.relation
com.adobe.ep.ux.content.model.search
com.adobe.ep.ux.content.model.toolbar
com.adobe.ep.ux.content.search
com.adobe.ep.ux.content.services
com.adobe.ep.ux.content.services.load
com.adobe.ep.ux.content.services.permissions
com.adobe.ep.ux.content.services.preview
com.adobe.ep.ux.content.services.providers
com.adobe.ep.ux.content.services.query
com.adobe.ep.ux.content.services.relationships
com.adobe.ep.ux.content.services.search.lccontent
com.adobe.ep.ux.content.services.version
com.adobe.ep.ux.content.view
com.adobe.ep.ux.content.view.components.activate
com.adobe.ep.ux.content.view.components.grid
com.adobe.ep.ux.content.view.components.grid.hover
com.adobe.ep.ux.content.view.components.grid.hover.component
com.adobe.ep.ux.content.view.components.grid.renderers
com.adobe.ep.ux.content.view.components.relationships
com.adobe.ep.ux.content.view.components.review
com.adobe.ep.ux.content.view.components.search.renderers
com.adobe.ep.ux.content.view.components.searchpod
com.adobe.ep.ux.content.view.components.toolbar
com.adobe.ep.ux.content.view.components.toolbar.controlRenderers
com.adobe.ep.ux.content.view.components.version
com.adobe.ep.ux.documentsubmit.component
com.adobe.ep.ux.documentsubmit.domain
com.adobe.ep.ux.documentsubmit.skin
com.adobe.ep.ux.taskaction.component
com.adobe.ep.ux.taskaction.domain
com.adobe.ep.ux.taskaction.domain.events
com.adobe.ep.ux.taskaction.skin
com.adobe.ep.ux.taskdetails.component
com.adobe.ep.ux.taskdetails.domain
com.adobe.ep.ux.taskdetails.skin
com.adobe.ep.ux.tasklist.component
com.adobe.ep.ux.tasklist.domain
com.adobe.ep.ux.tasklist.skin
com.adobe.ep.ux.webdocumentviewer.domain
com.adobe.exm.expression
com.adobe.exm.expression.error
com.adobe.exm.expression.event
com.adobe.exm.expression.impl
com.adobe.fiber.runtime.lib
com.adobe.fiber.services
com.adobe.fiber.services.wrapper
com.adobe.fiber.styles
com.adobe.fiber.util
com.adobe.fiber.valueobjects
com.adobe.gravity.binding
com.adobe.gravity.context
com.adobe.gravity.flex.bundleloader
com.adobe.gravity.flex.progress
com.adobe.gravity.flex.serviceloader
com.adobe.gravity.framework
com.adobe.gravity.init
com.adobe.gravity.service.bundleloader
com.adobe.gravity.service.logging
com.adobe.gravity.service.manifest
com.adobe.gravity.service.progress
com.adobe.gravity.tracker
com.adobe.gravity.ui
com.adobe.gravity.utility
com.adobe.gravity.utility.async
com.adobe.gravity.utility.error
com.adobe.gravity.utility.events
com.adobe.gravity.utility.factory
com.adobe.gravity.utility.flex.async
com.adobe.gravity.utility.logging
com.adobe.gravity.utility.message
com.adobe.gravity.utility.sequence
com.adobe.gravity.utility.url
com.adobe.guides.control
com.adobe.guides.domain
com.adobe.guides.i18n
com.adobe.guides.spark.components.skins
com.adobe.guides.spark.components.skins.mx
com.adobe.guides.spark.headers.components
com.adobe.guides.spark.headers.skins
com.adobe.guides.spark.layouts.components
com.adobe.guides.spark.layouts.skins
com.adobe.guides.spark.navigators.components
com.adobe.guides.spark.navigators.renderers
com.adobe.guides.spark.navigators.skins
com.adobe.guides.spark.util
com.adobe.guides.spark.wrappers.components
com.adobe.guides.spark.wrappers.skins
com.adobe.guides.submit
com.adobe.icc.dc.domain
com.adobe.icc.dc.domain.factory
com.adobe.icc.editors.events
com.adobe.icc.editors.handlers
com.adobe.icc.editors.managers
com.adobe.icc.editors.model
com.adobe.icc.editors.model.config
com.adobe.icc.editors.model.el
com.adobe.icc.editors.model.el.operands
com.adobe.icc.editors.model.el.operators
com.adobe.icc.enum
com.adobe.icc.external.dc
com.adobe.icc.obj
com.adobe.icc.services
com.adobe.icc.services.category
com.adobe.icc.services.config
com.adobe.icc.services.download
com.adobe.icc.services.export
com.adobe.icc.services.external
com.adobe.icc.services.formbridge
com.adobe.icc.services.fragmentlayout
com.adobe.icc.services.layout
com.adobe.icc.services.letter
com.adobe.icc.services.locator
com.adobe.icc.services.module
com.adobe.icc.services.render
com.adobe.icc.services.submit
com.adobe.icc.services.user
com.adobe.icc.token
com.adobe.icc.vo
com.adobe.icc.vo.render
com.adobe.icomm.assetplacement.controller
com.adobe.icomm.assetplacement.controller.utils
com.adobe.icomm.assetplacement.data
com.adobe.icomm.assetplacement.model
com.adobe.livecycle.assetmanager.client
com.adobe.livecycle.assetmanager.client.event
com.adobe.livecycle.assetmanager.client.handler
com.adobe.livecycle.assetmanager.client.managers
com.adobe.livecycle.assetmanager.client.model
com.adobe.livecycle.assetmanager.client.model.cms
com.adobe.livecycle.assetmanager.client.service
com.adobe.livecycle.assetmanager.client.service.search
com.adobe.livecycle.assetmanager.client.service.search.cms
com.adobe.livecycle.assetmanager.client.utils
com.adobe.livecycle.content
com.adobe.livecycle.rca.model
com.adobe.livecycle.rca.model.constant
com.adobe.livecycle.rca.model.document
com.adobe.livecycle.rca.model.participant
com.adobe.livecycle.rca.model.reminder
com.adobe.livecycle.rca.model.stage
com.adobe.livecycle.rca.service
com.adobe.livecycle.rca.service.core
com.adobe.livecycle.rca.service.core.delegate
com.adobe.livecycle.rca.service.process
com.adobe.livecycle.rca.service.process.delegate
com.adobe.livecycle.rca.token
com.adobe.livecycle.ria.security.api
com.adobe.livecycle.ria.security.service
com.adobe.mosaic.layouts
com.adobe.mosaic.layouts.dragAndDrop
com.adobe.mosaic.layouts.interfaces
com.adobe.mosaic.mxml
com.adobe.mosaic.om.constants
com.adobe.mosaic.om.events
com.adobe.mosaic.om.impl
com.adobe.mosaic.om.interfaces
com.adobe.mosaic.skinning
com.adobe.mosaic.sparklib.editors
com.adobe.mosaic.sparklib.optionMenu
com.adobe.mosaic.sparklib.scrollableMenu
com.adobe.mosaic.sparklib.scrollableMenu.skins
com.adobe.mosaic.sparklib.tabLayout
com.adobe.mosaic.sparklib.tabLayout.events
com.adobe.mosaic.sparklib.tabLayout.layouts
com.adobe.mosaic.sparklib.tabLayout.skins
com.adobe.mosaic.sparklib.text
com.adobe.mosaic.sparklib.util
com.adobe.solutions.acm.authoring.presentation
com.adobe.solutions.acm.authoring.presentation.actionbar
com.adobe.solutions.acm.authoring.presentation.common
com.adobe.solutions.acm.authoring.presentation.events
com.adobe.solutions.acm.authoring.presentation.fragment
com.adobe.solutions.acm.authoring.presentation.letter
com.adobe.solutions.acm.authoring.presentation.letter.data
com.adobe.solutions.acm.authoring.presentation.preview
com.adobe.solutions.acm.authoring.presentation.rte
com.adobe.solutions.acm.ccr.presentation
com.adobe.solutions.acm.ccr.presentation.contentcapture
com.adobe.solutions.acm.ccr.presentation.contentcapture.events
com.adobe.solutions.acm.ccr.presentation.contentcapture.preview
com.adobe.solutions.acm.ccr.presentation.datacapture
com.adobe.solutions.acm.ccr.presentation.datacapture.renderers
com.adobe.solutions.acm.ccr.presentation.pdf
com.adobe.solutions.exm
com.adobe.solutions.exm.authoring
com.adobe.solutions.exm.authoring.components.controls
com.adobe.solutions.exm.authoring.components.toolbars
com.adobe.solutions.exm.authoring.domain
com.adobe.solutions.exm.authoring.domain.expression
com.adobe.solutions.exm.authoring.domain.impl
com.adobe.solutions.exm.authoring.domain.method
com.adobe.solutions.exm.authoring.domain.variable
com.adobe.solutions.exm.authoring.enum
com.adobe.solutions.exm.authoring.events
com.adobe.solutions.exm.authoring.model
com.adobe.solutions.exm.authoring.renderer
com.adobe.solutions.exm.authoring.view
com.adobe.solutions.exm.expression
com.adobe.solutions.exm.impl
com.adobe.solutions.exm.impl.method
com.adobe.solutions.exm.method
com.adobe.solutions.exm.mock
com.adobe.solutions.exm.mock.method
com.adobe.solutions.exm.runtime
com.adobe.solutions.exm.runtime.impl
com.adobe.solutions.exm.variable
com.adobe.solutions.prm.constant
com.adobe.solutions.prm.domain
com.adobe.solutions.prm.domain.factory
com.adobe.solutions.prm.domain.impl
com.adobe.solutions.prm.domain.manager
com.adobe.solutions.prm.presentation.asset
com.adobe.solutions.prm.presentation.constant
com.adobe.solutions.prm.presentation.document
com.adobe.solutions.prm.presentation.event
com.adobe.solutions.prm.presentation.file
com.adobe.solutions.prm.presentation.project
com.adobe.solutions.prm.presentation.team
com.adobe.solutions.prm.presentation.util
com.adobe.solutions.prm.service
com.adobe.solutions.prm.services.impl
com.adobe.solutions.prm.vo
com.adobe.solutions.rca.constant
com.adobe.solutions.rca.domain
com.adobe.solutions.rca.domain.common
com.adobe.solutions.rca.domain.factory
com.adobe.solutions.rca.domain.impl
com.adobe.solutions.rca.domain.impl.manager
com.adobe.solutions.rca.domain.manager
com.adobe.solutions.rca.presentation
com.adobe.solutions.rca.presentation.comment
com.adobe.solutions.rca.presentation.constant
com.adobe.solutions.rca.presentation.event
com.adobe.solutions.rca.presentation.gantt
com.adobe.solutions.rca.presentation.gantt.ruler
com.adobe.solutions.rca.presentation.template
com.adobe.solutions.rca.presentation.template.audit
com.adobe.solutions.rca.presentation.template.definition
com.adobe.solutions.rca.presentation.template.documents
com.adobe.solutions.rca.presentation.template.stages
com.adobe.solutions.rca.presentation.util
com.adobe.solutions.rca.service
com.adobe.solutions.rca.services.impl
com.adobe.solutions.rca.vo
com.adobe.solutions.rca.vo.um
com.adobe.viewsource
fl.accessibility
fl.containers
fl.controls
fl.controls.dataGridClasses
fl.controls.listClasses
fl.controls.progressBarClasses
fl.core
fl.data
fl.display
fl.events
fl.ik
fl.lang
fl.livepreview
fl.managers
fl.motion
fl.motion.easing
fl.rsl
fl.text
fl.transitions
fl.transitions.easing
fl.video
flash.accessibility
flash.concurrent
flash.crypto
flash.data
flash.desktop
flash.display
flash.display3D
flash.display3D.textures
flash.errors
flash.events
flash.external
flash.filesystem
flash.filters
flash.geom
flash.globalization
flash.html
flash.media
flash.net
flash.net.dns
flash.net.drm
flash.notifications
flash.permissions
flash.printing
flash.profiler
flash.sampler
flash.security
flash.sensors
flash.system
flash.text
flash.text.engine
flash.text.ime
flash.ui
flash.utils
flash.xml
flashx.textLayout
flashx.textLayout.compose
flashx.textLayout.container
flashx.textLayout.conversion
flashx.textLayout.edit
flashx.textLayout.elements
flashx.textLayout.events
flashx.textLayout.factory
flashx.textLayout.formats
flashx.textLayout.operations
flashx.textLayout.utils
flashx.undo
ga.controls
ga.layouts
ga.model
ga.uiComponents
ga.util
ga.views
ga.wrappers
lc.foundation
lc.foundation.domain
lc.foundation.events
lc.foundation.ui
lc.foundation.util
lc.preloader
lc.procmgmt
lc.procmgmt.commands
lc.procmgmt.domain
lc.procmgmt.events
lc.procmgmt.formbridge
lc.procmgmt.impl
lc.procmgmt.ui.attachments
lc.procmgmt.ui.controls
lc.procmgmt.ui.controls.card
lc.procmgmt.ui.controls.renderer
lc.procmgmt.ui.help
lc.procmgmt.ui.layout
lc.procmgmt.ui.presentationmodel
lc.procmgmt.ui.process
lc.procmgmt.ui.search
lc.procmgmt.ui.startpoint
lc.procmgmt.ui.task
lc.procmgmt.ui.task.form
lc.procmgmt.ui.task.form.commands
lc.procmgmt.ui.tracking
mx.accessibility
mx.automation
mx.automation.air
mx.automation.delegates
mx.automation.delegates.advancedDataGrid
mx.automation.delegates.charts
mx.automation.delegates.containers
mx.automation.delegates.controls
mx.automation.delegates.controls.dataGridClasses
mx.automation.delegates.controls.fileSystemClasses
mx.automation.delegates.core
mx.automation.delegates.flashflexkit
mx.automation.events
mx.binding
mx.binding.utils
mx.charts
mx.charts.chartClasses
mx.charts.effects
mx.charts.effects.effectClasses
mx.charts.events
mx.charts.renderers
mx.charts.series
mx.charts.series.items
mx.charts.series.renderData
mx.charts.styles
mx.collections
mx.collections.errors
mx.containers
mx.containers.accordionClasses
mx.containers.dividedBoxClasses
mx.containers.errors
mx.containers.utilityClasses
mx.controls
mx.controls.advancedDataGridClasses
mx.controls.dataGridClasses
mx.controls.listClasses
mx.controls.menuClasses
mx.controls.olapDataGridClasses
mx.controls.scrollClasses
mx.controls.sliderClasses
mx.controls.textClasses
mx.controls.treeClasses
mx.controls.videoClasses
mx.core
mx.core.windowClasses
mx.data
mx.data.crypto
mx.data.errors
mx.data.events
mx.data.messages
mx.data.mxml
mx.data.offline.errors
mx.data.utils
mx.effects
mx.effects.easing
mx.effects.effectClasses
mx.events
mx.filters
mx.flash
mx.formatters
mx.geom
mx.graphics
mx.graphics.codec
mx.graphics.shaderClasses
mx.logging
mx.logging.errors
mx.logging.targets
mx.managers
mx.messaging
mx.messaging.channels
mx.messaging.config
mx.messaging.errors
mx.messaging.events
mx.messaging.management
mx.messaging.messages
mx.modules
mx.netmon
mx.olap
mx.olap.aggregators
mx.preloaders
mx.printing
mx.resources
mx.rpc
mx.rpc.events
mx.rpc.http
mx.rpc.http.mxml
mx.rpc.livecycle
mx.rpc.mxml
mx.rpc.remoting
mx.rpc.remoting.mxml
mx.rpc.soap
mx.rpc.soap.mxml
mx.rpc.wsdl
mx.rpc.xml
mx.skins
mx.skins.halo
mx.skins.spark
mx.skins.wireframe
mx.skins.wireframe.windowChrome
mx.states
mx.styles
mx.utils
mx.validators
org.osmf.containers
org.osmf.display
org.osmf.elements
org.osmf.events
org.osmf.layout
org.osmf.logging
org.osmf.media
org.osmf.metadata
org.osmf.net
org.osmf.net.dvr
org.osmf.net.httpstreaming
org.osmf.net.metrics
org.osmf.net.qos
org.osmf.net.rtmpstreaming
org.osmf.net.rules
org.osmf.traits
org.osmf.utils
spark.accessibility
spark.automation.delegates
spark.automation.delegates.components
spark.automation.delegates.components.gridClasses
spark.automation.delegates.components.mediaClasses
spark.automation.delegates.components.supportClasses
spark.automation.delegates.skins.spark
spark.automation.events
spark.collections
spark.components
spark.components.calendarClasses
spark.components.gridClasses
spark.components.mediaClasses
spark.components.supportClasses
spark.components.windowClasses
spark.core
spark.effects
spark.effects.animation
spark.effects.easing
spark.effects.interpolation
spark.effects.supportClasses
spark.events
spark.filters
spark.formatters
spark.formatters.supportClasses
spark.globalization
spark.globalization.supportClasses
spark.layouts
spark.layouts.supportClasses
spark.managers
spark.modules
spark.preloaders
spark.primitives
spark.primitives.supportClasses
spark.skins
spark.skins.mobile
spark.skins.mobile.supportClasses
spark.skins.spark
spark.skins.spark.mediaClasses.fullScreen
spark.skins.spark.mediaClasses.normal
spark.skins.spark.windowChrome
spark.skins.wireframe
spark.skins.wireframe.mediaClasses
spark.skins.wireframe.mediaClasses.fullScreen
spark.transitions
spark.utils
spark.validators
spark.validators.supportClasses
xd.core.axm.enterprise.view.components
xd.core.axm.enterprise.view.skins
xd.core.axm.view.components
xd.core.axm.view.components.support

언어 요소

전역 상수
전역 함수
연산자
명령문, 키워드 및 지시문
특수 유형 연산자

부록

새로운 내용
컴파일러 오류
컴파일러 경고
런타임 오류
ActionScript 3으로 마이그레이션
지원되는 문자 세트
MXML 전용 태그
모션 XML 요소
Timed Text 태그
사용되지 않는 요소의 목록
액세스 가능성 구현 상수
ActionScript 예제 사용 방법
법적 고지 사항
패키지flash.system
클래스public final class Capabilities
상속Capabilities Inheritance Object

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 9, AIR 1.0, Flash Lite 4

Capabilities 클래스는 응용 프로그램을 호스팅하는 시스템 및 런타임을 설명하는 속성을 제공합니다. 예를 들어 휴대폰 화면은 흑백 100제곱픽셀인 반면, PC 화면은 컬러 1000제곱픽셀일 수 있습니다. Capabilities 클래스를 사용하여 클라이언트의 기능을 확인하면 가능한 한 많은 사용자에게 적절한 내용을 제공할 수 있습니다. 장치의 성능을 파악하면 서버에서 적절한 SWF 파일을 보내도록 지시하거나 SWF 파일에서 프리젠테이션을 변경하도록 지시할 수 있습니다.

그러나 Adobe AIR의 일부 기능은 Capabilities 클래스에 속성으로 나열되지 않습니다. 다음은 다른 클래스의 속성입니다.

속성설명
NativeApplication.supportsDockIcon 운영 체제가 응용 프로그램 도크 아이콘을 지원하는지 여부입니다.
NativeApplication.supportsMenu 운영 체제가 전역 응용 프로그램 메뉴 모음을 지원하는지 여부입니다.
NativeApplication.supportsSystemTrayIcon 운영 체제가 시스템 트레이 아이콘을 지원하는지 여부입니다.
NativeWindow.supportsMenu 운영 체제가 윈도우 메뉴를 지원하는지 여부입니다.
NativeWindow.supportsTransparency 운영 체제가 투명 윈도우를 지원하는지 여부입니다.

운영 체제에 기반한 기능을 확인하기 위해 Capabilities.os 또는 Capabilities.manufacturer를 사용하지 마십시오. 기능이 운영 체제에 기반하도록 하면 응용 프로그램이 모든 잠재적 대상 운영 체제를 고려하지 않는 경우 문제가 발생할 수 있으므로 좋지 않습니다. 대신, 테스트하는 기능에 해당하는 속성을 사용하십시오.

GET 또는 POST HTTP 메서드를 사용하여 Capabilities.serverString 속성에 URL 인코딩 문자열로 저장된 성능 정보를 보낼 수 있습니다. 다음 예제에서는 MP3가 지원되고 해상도가 1600 x 1200픽셀이며 IME(Input Method Editor)가 설치된 Windows XP가 실행 중이고 다중 채널 오디오를 지원하지 않는 컴퓨터의 서버 문자열을 보여 줍니다.

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

다음 표에서는 Capabilities 클래스의 속성과 해당 서버 문자열을 나열합니다. 또한 다중 채널 오디오 유형의 서버 문자열이 나와 있습니다.

Capabilities 클래스 속성서버 문자열
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
Dolby Digital 오디오 지원 DD
Dolby Digital Plus 오디오 지원 DDP
DTS 오디오 지원 DTS
DTS Express 오디오 지원 DTE
DTS-HD High Resolution 오디오 지원 DTH
DTS-HD Master 오디오 지원 DTM

윈도우 없음 모드가 비활성화되어 있는지 여부를 지정하는 WD 서버 문자열도 있습니다. 윈도우 없음 모드는 웹 브라우저와의 비호환성 문제나 mms.cfg 파일의 사용자 설정으로 인해 Flash Player에서 비활성화될 수 있습니다. 해당하는 Capabilities 속성이 없습니다.

Capabilities 클래스의 모든 속성은 읽기 전용입니다.

예제 보기

기타 예제



공용 속성
 속성정의 주체
  avHardwareDisable : Boolean
[정적] [읽기 전용] 사용자의 카메라와 마이크에 대한 액세스가 금지되었는지(true) 또는 허용되었는지(false) 여부를 지정합니다.
Capabilities
 Inheritedconstructor : Object
지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다.
Object
  cpuArchitecture : String
[정적] [읽기 전용] 현재 CPU 아키텍처를 지정합니다.
Capabilities
  hasAccessibility : Boolean
[정적] [읽기 전용] 시스템에서 액세스 가능성 도구와의 통신을 지원하는지(true) 또는 지원하지 않는지(false) 여부를 지정합니다.
Capabilities
  hasAudio : Boolean
[정적] [읽기 전용] 시스템에 오디오 기능이 있는지 여부를 지정합니다.
Capabilities
  hasAudioEncoder : Boolean
[정적] [읽기 전용] 시스템에서 마이크 입력 등의 오디오 스트림을 인코딩할 수 있는지(true) 또는 인코딩할 수 없는지(false) 여부를 지정합니다.
Capabilities
  hasEmbeddedVideo : Boolean
[정적] [읽기 전용] 시스템에서 포함된 비디오를 지원하는지(true) 또는 지원하지 않는지(false) 여부를 지정합니다.
Capabilities
  hasIME : Boolean
[정적] [읽기 전용] 시스템에 IME가 설치되어 있는지(true) 또는 설치되어 있지 않은지(false) 여부를 지정합니다.
Capabilities
  hasMP3 : Boolean
[정적] [읽기 전용] 시스템에 MP3 디코더가 있는지(true) 또는 없는지(false) 여부를 지정합니다.
Capabilities
  hasPrinting : Boolean
[정적] [읽기 전용] 시스템에서 인쇄를 지원하는지(true) 또는 지원하지 않는지(false) 여부를 지정합니다.
Capabilities
  hasScreenBroadcast : Boolean
[정적] [읽기 전용] 시스템에서 Flash Media Server를 통해 실행되는 스크린 브로드캐스트 응용 프로그램 개발을 지원하는지(true) 또는 지원하지 않는지(false) 여부를 지정합니다.
Capabilities
  hasScreenPlayback : Boolean
[정적] [읽기 전용] 시스템에서 Flash Media Server를 통해 실행되는 스크린 브로드캐스트 응용 프로그램의 재생을 지원하는지(true) 또는 지원하지 않는지(false) 여부를 지정합니다.
Capabilities
  hasStreamingAudio : Boolean
[정적] [읽기 전용] 시스템에서 스트리밍 오디오를 재생할 수 있는지(true) 또는 재생할 수 없는지(false) 여부를 지정합니다.
Capabilities
  hasStreamingVideo : Boolean
[정적] [읽기 전용] 시스템에서 스트리밍 비디오를 재생할 수 있는지(true) 또는 재생할 수 없는지(false) 여부를 지정합니다.
Capabilities
  hasTLS : Boolean
[정적] [읽기 전용] 시스템에서 NetConnection을 통한 기본 SSL 소켓을 지원하는지(true) 또는 지원하지 않는지(false) 여부를 지정합니다.
Capabilities
  hasVideoEncoder : Boolean
[정적] [읽기 전용] 시스템에서 웹 카메라 입력 등의 비디오 스트림을 인코딩할 수 있는지(true) 또는 인코딩할 수 없는지(false) 여부를 지정합니다.
Capabilities
  isDebugger : Boolean
[정적] [읽기 전용] 시스템이 특수 디버깅 버전인지(true) 또는 정식으로 출시된 버전인지(false) 여부를 지정합니다.
Capabilities
  isEmbeddedInAcrobat : Boolean
[정적] [읽기 전용] Flash 런타임이 Acrobat 9.0 이상에서 열리는 PDF 파일에 포함되어 있는지(true) 아니면 포함되어 있지 않은지(false)를 지정합니다.
Capabilities
  language : String
[정적] [읽기 전용] 내용이 실행되는 시스템의 언어 코드를 지정합니다.
Capabilities
      languages : Array
[정적] [읽기 전용] 사용자가 운영 체제를 통해 설정한 기본 설정 사용자 인터페이스 언어에 대한 정보가 들어 있는 문자열 배열입니다.
Capabilities
  localFileReadDisable : Boolean
[정적] [읽기 전용] 사용자의 하드 디스크에 대한 읽기 액세스가 금지되었는지(true) 또는 허용되었는지(false)를 지정합니다.
Capabilities
  manufacturer : String
[정적] [읽기 전용] 실행 중인 Flash Player 또는 AIR 런타임 버전의 제조자를 "Adobe OSName" 형식으로 지정합니다.
Capabilities
  maxLevelIDC : String
[정적] [읽기 전용] 클라이언트 하드웨어가 지원하는 최상의 H.264 수준 IDC를 검색합니다.
Capabilities
  os : String
[정적] [읽기 전용] 현재 운영 체제를 지정합니다.
Capabilities
  pixelAspectRatio : Number
[정적] [읽기 전용] 스크린의 픽셀 종횡비를 지정합니다.
Capabilities
  playerType : String
[정적] [읽기 전용] 런타임 환경의 유형을 지정합니다.
Capabilities
  screenColor : String
[정적] [읽기 전용] 스크린 색상을 지정합니다.
Capabilities
  screenDPI : Number
[정적] [읽기 전용] 스크린의 dpi(인치당 도트 수) 해상도를 픽셀 단위로 지정합니다.
Capabilities
  screenResolutionX : Number
[정적] [읽기 전용] 스크린의 최대 수평 해상도를 지정합니다.
Capabilities
  screenResolutionY : Number
[정적] [읽기 전용] 스크린의 최대 수직 해상도를 지정합니다.
Capabilities
  serverString : String
[정적] [읽기 전용] 각 Capabilities 속성의 값을 지정하는 URL 인코딩 문자열입니다.
Capabilities
  supports32BitProcesses : Boolean
[정적] [읽기 전용] 시스템이 32비트 프로세스 실행을 지원하는지 여부를 지정합니다.
Capabilities
  supports64BitProcesses : Boolean
[정적] [읽기 전용] 시스템이 64비트 프로세스 실행을 지원하는지 여부를 지정합니다.
Capabilities
  touchscreenType : String
[정적] [읽기 전용] 지원되는 터치 스크린이 있는 경우 터치 스크린의 유형을 지정합니다.
Capabilities
  version : String
[정적] [읽기 전용] Flash Player 또는 Adobe® AIR® 플랫폼 및 버전 정보를 지정합니다.
Capabilities
공용 메서드
 메서드정의 주체
  
[정적] 시스템에서 특정 유형의 다중 채널 오디오를 지원하는지 여부를 나타냅니다.
Capabilities
 Inherited
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다.
Object
 Inherited
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다.
Object
 Inherited
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다.
Object
 Inherited
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다.
Object
 Inherited
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다.
Object
 Inherited
지정된 객체의 문자열 표현을 반환합니다.
Object
 Inherited
지정된 객체의 프리미티브 값을 반환합니다.
Object
속성 세부 정보

avHardwareDisable

속성
avHardwareDisable:Boolean  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 9, AIR 1.0, Flash Lite 4

사용자의 카메라와 마이크에 대한 액세스가 금지되었는지(true) 또는 허용되었는지(false)를 지정합니다. 서버 문자열은 AVD입니다.

Adobe AIR™에 있는 내용의 경우 이 속성은 응용 프로그램 보안 샌드박스가 아닌 보안 샌드박스의 내용에만 적용됩니다. 응용 프로그램 보안 샌드박스의 내용은 항상 사용자의 카메라 및 마이크에 액세스할 수 있습니다.



구현
    public static function get avHardwareDisable():Boolean

관련 API 요소

cpuArchitecture

속성 
cpuArchitecture:String  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10.0.32, AIR 1.5.1

현재 CPU 아키텍처를 지정합니다. cpuArchitecture 속성은 "PowerPC", "x86", "SPARC" 및 "ARM" 문자열을 반환할 수 있습니다. 서버 문자열은 ARCH입니다.



구현
    public static function get cpuArchitecture():String

hasAccessibility

속성 
hasAccessibility:Boolean  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 9, AIR 1.0, Flash Lite 4

시스템에서 액세스 가능성 도구와의 통신을 지원하는지(true) 또는 지원하지 않는지(false) 여부를 지정합니다. 서버 문자열은 ACC입니다.



구현
    public static function get hasAccessibility():Boolean

관련 API 요소

hasAudio

속성 
hasAudio:Boolean  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 9, AIR 1.0, Flash Lite 4

시스템에 오디오 기능이 있는지 여부를 지정합니다. 이 속성은 항상 true입니다. 서버 문자열은 A입니다.



구현
    public static function get hasAudio():Boolean

hasAudioEncoder

속성 
hasAudioEncoder:Boolean  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 9, AIR 1.0, Flash Lite 4

시스템에서 마이크 입력 등의 오디오 스트림을 인코딩할 수 있는지(true) 또는 인코딩할 수 없는지(false) 여부를 지정합니다. 서버 문자열은 AE입니다.



구현
    public static function get hasAudioEncoder():Boolean

hasEmbeddedVideo

속성 
hasEmbeddedVideo:Boolean  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 9, AIR 1.0, Flash Lite 4

시스템에서 포함된 비디오를 지원하는지(true) 또는 지원하지 않는지(false) 여부를 지정합니다. 서버 문자열은 EV입니다.



구현
    public static function get hasEmbeddedVideo():Boolean

hasIME

속성 
hasIME:Boolean  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 9, AIR 1.0, Flash Lite 4

시스템에 IME가 설치되어 있는지(true) 또는 설치되어 있지 않은지(false) 여부를 지정합니다. 서버 문자열은 IME입니다.



구현
    public static function get hasIME():Boolean

관련 API 요소

hasMP3

속성 
hasMP3:Boolean  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 9, AIR 1.0, Flash Lite 4

시스템에 MP3 디코더가 있는지(true) 또는 없는지(false) 여부를 지정합니다. 서버 문자열은 MP3입니다.



구현
    public static function get hasMP3():Boolean

hasPrinting

속성 
hasPrinting:Boolean  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 9, AIR 1.0, Flash Lite 4

시스템에서 인쇄를 지원하는지(true) 또는 지원하지 않는지(false) 여부를 지정합니다. 서버 문자열은 PR입니다.



구현
    public static function get hasPrinting():Boolean

hasScreenBroadcast

속성 
hasScreenBroadcast:Boolean  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 9, AIR 1.0, Flash Lite 4

시스템에서 Flash Media Server를 통해 실행되는 스크린 브로드캐스트 응용 프로그램 개발을 지원하는지(true) 또는 지원하지 않는지(false) 여부를 지정합니다. 서버 문자열은 SB입니다.



구현
    public static function get hasScreenBroadcast():Boolean

hasScreenPlayback

속성 
hasScreenPlayback:Boolean  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 9, AIR 1.0, Flash Lite 4

시스템에서 Flash Media Server를 통해 실행되는 스크린 브로드캐스트 응용 프로그램의 재생을 지원하는지(true) 또는 지원하지 않는지(false) 여부를 지정합니다. 서버 문자열은 SP입니다.



구현
    public static function get hasScreenPlayback():Boolean

hasStreamingAudio

속성 
hasStreamingAudio:Boolean  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 9, AIR 1.0, Flash Lite 4

시스템에서 스트리밍 오디오를 재생할 수 있는지(true) 또는 재생할 수 없는지(false) 여부를 지정합니다. 서버 문자열은 SA입니다.



구현
    public static function get hasStreamingAudio():Boolean

hasStreamingVideo

속성 
hasStreamingVideo:Boolean  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 9, AIR 1.0, Flash Lite 4

시스템에서 스트리밍 비디오를 재생할 수 있는지(true) 또는 재생할 수 없는지(false) 여부를 지정합니다. 서버 문자열은 SV입니다.



구현
    public static function get hasStreamingVideo():Boolean

hasTLS

속성 
hasTLS:Boolean  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 9, AIR 1.0, Flash Lite 4

시스템에서 NetConnection을 통한 기본 SSL 소켓을 지원하는지(true) 또는 지원하지 않는지(false) 여부를 지정합니다. 서버 문자열은 TLS입니다.



구현
    public static function get hasTLS():Boolean

관련 API 요소

hasVideoEncoder

속성 
hasVideoEncoder:Boolean  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 9, AIR 1.0, Flash Lite 4

시스템에서 웹 카메라 입력 등의 비디오 스트림을 인코딩할 수 있는지(true) 또는 인코딩할 수 없는지(false) 여부를 지정합니다. 서버 문자열은 VE입니다.



구현
    public static function get hasVideoEncoder():Boolean

isDebugger

속성 
isDebugger:Boolean  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 9, AIR 1.0, Flash Lite 4

시스템이 특수 디버깅 버전인지(true) 또는 정식으로 출시된 버전인지(false) 여부를 지정합니다. 서버 문자열은 DEB입니다. Flash Player의 디버그 버전 또는 ADL(AIR Debug Launcher)에서 실행할 경우 이 속성은 true로 설정됩니다.



구현
    public static function get isDebugger():Boolean

isEmbeddedInAcrobat

속성 
isEmbeddedInAcrobat:Boolean  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 9.0.127.0, AIR 1.1, Flash Lite 4

Flash 런타임이 Acrobat 9.0 이상에서 열리는 PDF 파일에 포함되어 있는지(true) 아니면 포함되어 있지 않은지(false)를 지정합니다.



구현
    public static function get isEmbeddedInAcrobat():Boolean

language

속성 
language:String  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 9, AIR 1.0, Flash Lite 4

내용이 실행되는 시스템의 언어 코드를 지정합니다. 언어는 ISO 639-1에 소문자로 지정된 두 글자 언어 코드로 지정됩니다. 중국어의 경우 ISO 3166의 대문자로 된 두 글자 국가 코드가 추가되어 중국어 간체와 번체가 구별됩니다. 언어 코드는 해당 언어의 영어 이름에 기초합니다. 예를 들어 헝가리어는 hu로 지정됩니다.

영어 시스템에서 이 속성은 국가 코드가 아닌 언어 코드(en)만 반환합니다. Microsoft Windows 시스템에서 이 속성은 모든 메뉴, 대화 상자, 오류 메시지 및 도움말 파일에 사용되는 언어를 참조하는 UI(사용자 인터페이스) 언어를 반환합니다. 다음 표에는 가능한 값이 나열되어 있습니다.

언어
체코어cs
덴마크어da
네덜란드어nl
영어en
핀란드어fi
프랑스어fr
독일어de
헝가리어hu
이탈리아어it
일본어ja
한국어ko
노르웨이어nb
기타/알 수 없음xu
폴란드어pl
포르투갈어pt
러시아어ru
중국어 간체zh-CN
스페인어es
스웨덴어sv
중국어 번체zh-TW
터키어tr

참고: Capabilities.language 속성에는 이 목록의 값만 사용할 수 있습니다. 이러한 제한 사항으로 인해 Adobe AIR 응용 프로그램에서는 Capabilities.languages 배열의 첫 번째 요소를 사용하여 시스템의 기본 사용자 인터페이스 언어를 확인해야 합니다.

서버 문자열은 L입니다.



구현
    public static function get language():String

관련 API 요소


예제  ( 예제 사용 방법 )
다음 예제에서 표시되는 내용은 사용자 운영 체제의 언어에 따라 다릅니다.

Capabilities.language 속성은 ISO 639-1 언어 코드(예: 영어는 "en")를 반환합니다. switch 문은 언어 코드를 확인하고 myTextField 텍스트 필드의 내용을 해당 언어에 적합한 인사말로 설정합니다. 예제에서는 언어 코드를 지원하지 않을 경우 기본 오류 문자열이 반환됩니다.

package {
    import flash.display.Sprite;
    import flash.text.TextField;
    import flash.text.TextFieldAutoSize;
    import flash.system.Capabilities;

    public class Capabilities_languageExample extends Sprite {

        public function Capabilities_languageExample()  {
            var myTextField:TextField = new TextField();         
            myTextField.x = 10;
            myTextField.y = 10;
            myTextField.background = true;
            myTextField.autoSize = TextFieldAutoSize.LEFT;
            
            var greetingEnglish:String = "Hello World";
            var greetingGerman:String = "Hallo Welt";
            var greetingFrench:String = "Bonjour Monde";
            var greetingSpanish:String = "Hola Mundo";

            var lang:String = Capabilities.language;
                         
            switch (lang) {
                case "en":
                    myTextField.text = greetingEnglish;
                    break;
                case "de":
                    myTextField.text = greetingGerman;
                    break;
                case "fr":
                    myTextField.text = greetingFrench;
                    break;
                case "es":
                    myTextField.text = greetingSpanish;
                    break;
                default:
                    myTextField.text = "Sorry your system's language is not supported at this time.";               
            }
             
            this.addChild(myTextField);
        }
    }
}
    

languages

속성 
languages:Array  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: AIR 1.1

사용자가 운영 체제를 통해 설정한 기본 설정 사용자 인터페이스 언어에 대한 정보가 들어 있는 문자열 배열입니다. 문자열에는 RFC4646(http://www.ietf.org/rfc/rfc4646.txt)에서 정의한 언어 태그 및 스크립트와 지역 정보(해당하는 경우)가 포함되며 대시가 구분 기호로 사용됩니다(예: "en-US" 또는 "ja-JP"). 각 언어는 배열에서 운영 체제 설정에 따른 선호 순서로 나열됩니다.

로캘 문자열에서 반환된 지역 정보에서 운영 체제가 다릅니다. 한 운영 체제에서는 "en-us"를 반환하는 반면, 또 다른 운영 체제에서는 "en"을 반환할 수 있습니다.

반환된 배열에 있는 첫 번째 항목의 기본 언어 ID는 일반적으로 Capabilities.language 속성의 기본 언어 ID와 동일합니다. 예를 들어 Capabilities.languages[0]"en-US"로 설정되면 language 속성은 "en"으로 설정됩니다. 그러나 Capabilities.language 속성을 알 수 없는 언어를 지정하는 "xu"로 설정하면 배열의 첫 번째 요소가 달라집니다. 따라서 Capabilities.languages[0]Capabilities.language보다 더 정확할 수 있습니다.

서버 문자열은 LS입니다.



구현
    public static function get languages():Array

localFileReadDisable

속성 
localFileReadDisable:Boolean  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 9, AIR 1.0, Flash Lite 4

사용자의 하드 디스크에 대한 읽기 액세스를 금지되었는지(true) 또는 허용되었는지(false)를 지정합니다. Adobe AIR에 있는 내용의 경우 이 속성은 응용 프로그램 보안 샌드박스가 아닌 보안 샌드박스의 내용에만 적용됩니다. 응용 프로그램 보안 샌드박스의 내용은 항상 파일 시스템에서 읽습니다. 이 속성이 true이면 Flash Player에서 Flash Player가 시작된 첫 번째 파일을 포함하여 사용자 하드 디스크의 파일을 읽을 수 없습니다. 이 속성이 true이면 응용 프로그램 보안 샌드박스 외부의 AIR 내용은 사용자 하드 디스크의 파일을 읽을 수 없습니다. 예를 들어 이 속성이 true로 설정되어 있으면 load 메서드를 통해 사용자의 하드 디스크에 있는 파일을 읽으려는 시도가 실패합니다.

이 속성이 true로 설정되면 런타임 공유 라이브러리 읽기도 차단되지만 로컬 공유 객체는 이 속성 값에 관계없이 읽을 수 있습니다.

서버 문자열은 LFD입니다.



구현
    public static function get localFileReadDisable():Boolean

관련 API 요소

manufacturer

속성 
manufacturer:String  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 9, AIR 1.0, Flash Lite 4

실행 중인 버전의 Flash Player 또는 AIR 런타임 제조업체를 "Adobe OSName" 형식으로 지정합니다. OSName 값은 "Windows", "Macintosh", "Linux" 또는 기타 운영 체제 이름이 될 수 있습니다. 서버 문자열은 M입니다.

보다 구체적인 capability 속성이 존재하는 경우 운영 체제에 기반한 기능을 확인하기 위해 Capabilities.manufacturer를 사용하지 마십시오. 기능이 운영 체제에 기반하도록 하면 응용 프로그램이 모든 잠재적 대상 운영 체제를 고려하지 않는 경우 문제가 발생할 수 있으므로 좋지 않습니다. 대신, 테스트하는 기능에 해당하는 속성을 사용하십시오. 자세한 내용은 Capabilities 클래스 설명을 참조하십시오.



구현
    public static function get manufacturer():String

maxLevelIDC

속성 
maxLevelIDC:String  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10, AIR 1.5, Flash Lite 4

클라이언트 하드웨어가 지원하는 최상의 H.264 수준 IDC를 검색합니다. 이 수준에서 미디어를 실행하면 항상 실행되지만 최상의 수준에서 미디어를 실행하면 최상의 품질로 실행되지 않을 수도 있습니다. 이 속성은 클라이언트의 기능을 대상으로 지정하는 서버에 유용합니다. 이 속성을 사용하면 서버에서 클라이언트에 보낼 비디오의 수준을 결정할 수 있습니다.

서버 문자열은 ML입니다.



구현
    public static function get maxLevelIDC():String

os

속성 
os:String  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 9, AIR 1.0, Flash Lite 4

현재 운영 체제를 지정합니다. os 속성은 다음 문자열을 반환할 수 있습니다.

운영 체제
Windows 10"Windows 10"
Windows 8"Windows 8"
Windows 7"Windows 7"
Windows Vista"Windows Vista"
Windows Server 2012"Windows Server 2012"
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"(여기서 X.Y.Z는 버전 번호(예: "Mac OS 10.5.2"))
Linux"Linux"(Flash Player가 Linux 버전을 연결함, 예: "Linux 2.6.15-1.2054_FC5smp"
iPhone OS 4.1"iPhone3,1"

서버 문자열은 OS입니다.

보다 구체적인 capability 속성이 존재하는 경우 운영 체제에 기반한 기능을 확인하기 위해 Capabilities.os를 사용하지 마십시오. 기능이 운영 체제에 기반하도록 하면 응용 프로그램이 모든 잠재적 대상 운영 체제를 고려하지 않는 경우 문제가 발생할 수 있으므로 좋지 않습니다. 대신, 테스트하는 기능에 해당하는 속성을 사용하십시오. 자세한 내용은 Capabilities 클래스 설명을 참조하십시오.



구현
    public static function get os():String

pixelAspectRatio

속성 
pixelAspectRatio:Number  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 9, AIR 1.0, Flash Lite 4

스크린의 픽셀 종횡비를 지정합니다. 서버 문자열은 AR입니다.



구현
    public static function get pixelAspectRatio():Number

playerType

속성 
playerType:String  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 9, AIR 1.0, Flash Lite 4

런타임 환경의 유형을 지정합니다. 이 속성은 다음 값 중 하나를 가질 수 있습니다.

  • "ActiveX": Microsoft Internet Explorer에서 사용하는 Flash Player ActiveX 컨트롤의 경우
  • "Desktop": Adobe AIR 런타임의 경우(Capabilities.playerType"PlugIn"으로 설정된 HTML 페이지에서 로드한 SWF 내용 제외)
  • "External": 외부 Flash Player용 또는 테스트 모드의 경우
  • "PlugIn": Flash Player 브라우저 플러그인 및 AIR 응용 프로그램의 HTML 페이지에서 로드한 SWF 내용의 경우
  • "StandAlone": 독립 실행형 Flash Player의 경우

서버 문자열은 PT입니다.



구현
    public static function get playerType():String

screenColor

속성 
screenColor:String  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 9, AIR 1.0, Flash Lite 4

스크린 색상을 지정합니다. 이 속성의 값은 "color", "gray"(회색조) 또는 "bw"(흑백)일 수 있습니다. 서버 문자열은 COL입니다.



구현
    public static function get screenColor():String

screenDPI

속성 
screenDPI:Number  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 9, AIR 1.0, Flash Lite 4

스크린의 dpi(인치당 도트 수) 해상도를 픽셀 단위로 지정합니다. 서버 문자열은 DP입니다.



구현
    public static function get screenDPI():Number

screenResolutionX

속성 
screenResolutionX:Number  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 9, AIR 1.0, Flash Lite 4

스크린의 최대 수평 해상도를 지정합니다. 서버 문자열은 화면의 폭과 높이를 모두 반환하는 R입니다. 이 속성은 사용자의 화면 해상도로 업데이트되지 않고 대신 Flash Player 또는 Adobe AIR 응용 프로그램이 시작했을 때의 해상도만 표시합니다. 또한 이 값은 기본 스크린만 지정합니다.



구현
    public static function get screenResolutionX():Number

screenResolutionY

속성 
screenResolutionY:Number  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 9, AIR 1.0, Flash Lite 4

스크린의 최대 수직 해상도를 지정합니다. 서버 문자열은 화면의 폭과 높이를 모두 반환하는 R입니다. 이 속성은 사용자의 화면 해상도로 업데이트되지 않고 대신 Flash Player 또는 Adobe AIR 응용 프로그램이 시작했을 때의 해상도만 표시합니다. 또한 이 값은 기본 스크린만 지정합니다.



구현
    public static function get screenResolutionY():Number

예제  ( 예제 사용 방법 )
다음 예는 현재 화면 해상도 및 운영 체제 버전을 나타내는 간단한 테스트입니다. 이 예를 테스트할 때 텍스트 필드를 클릭하여 속성 값을 확인하십시오.
import flash.events.*;
import flash.display.*;
import flash.system.Capabilities;
import flash.text.TextField;

var screenInfoTxt:TextField = new TextField();
screenInfoTxt.x = 30;
screenInfoTxt.y = 50;
screenInfoTxt.width = 300;
screenInfoTxt.height = 100;
screenInfoTxt.border = true;

addChild(screenInfoTxt);

addEventListener(MouseEvent.CLICK, getScreenNVersion);

function getScreenNVersion(e:MouseEvent):void{
    screenInfoTxt.text= "flash.system.Capabilities.screenResolutionX is : " + String(flash.system.Capabilities.screenResolutionX) + "\n" +
    "flash.system.Capabilities.screenResolutionY is : " + String(flash.system.Capabilities.screenResolutionY) + "\n" +
    "flash.system.Capabilities.version is : " + flash.system.Capabilities.version;
}

serverString

속성 
serverString:String  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 9, AIR 1.0, Flash Lite 4

각 Capabilities 속성의 값을 지정하는 URL 인코딩 문자열입니다.

다음 예제는 URL 인코딩 문자열을 보여 줍니다.

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



구현
    public static function get serverString():String

supports32BitProcesses

속성 
supports32BitProcesses:Boolean  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10.0.32, AIR 1.5.2

시스템이 32비트 프로세스 실행을 지원하는지 여부를 지정합니다. 서버 문자열은 PR32입니다.



구현
    public static function get supports32BitProcesses():Boolean

supports64BitProcesses

속성 
supports64BitProcesses:Boolean  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10.0.32, AIR 1.5.2

시스템이 64비트 프로세스 실행을 지원하는지 여부를 지정합니다. 서버 문자열은 PR64입니다.



구현
    public static function get supports64BitProcesses():Boolean

touchscreenType

속성 
touchscreenType:String  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 10.1, AIR 2

지원되는 터치 스크린이 있는 경우 터치 스크린의 유형을 지정합니다. 값이 flash.system.TouchscreenType 클래스에 정의됩니다.



구현
    public static function get touchscreenType():String

관련 API 요소


예제  ( 예제 사용 방법 )
다음 예는 현재 터치 스크린 유형을 나타내는 간단한 테스트입니다. 이 예를 테스트할 때 텍스트 필드를 클릭하여 속성 값을 확인하십시오.
import flash.events.*;
import flash.display.*;
import flash.system.Capabilities;
import flash.text.TextField;

var capabilitiesTouchScreenTypeTxt:TextField = new TextField();
capabilitiesTouchScreenTypeTxt.width = 300;
capabilitiesTouchScreenTypeTxt.border = true;

addChild(capabilitiesTouchScreenTypeTxt);

addEventListener(MouseEvent.CLICK, getScreenKeyboardType);

function getScreenKeyboardType(e:MouseEvent):void{
    capabilitiesTouchScreenTypeTxt.text= "flash.system.Capabilities.touchscreenType is : " + flash.system.Capabilities.touchscreenType;
}

version

속성 
version:String  [읽기 전용]

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 9, AIR 1.0, Flash Lite 4

Flash Player 또는 Adobe® AIR® 플랫폼 및 버전 정보를 지정합니다. 버전 번호의 형식은 platform majorVersion,minorVersion,buildNumber,internalBuildNumber입니다. platform에 사용할 수 있는 값은 "WIN", ` "MAC", "LNX""AND"입니다. 버전 정보의 몇 가지 예는 다음과 같습니다.

	 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
	 

보다 구체적인 capability 속성이 존재하는 경우 운영 체제에 기반한 기능을 확인하기 위해 Capabilities.version을 사용하지 마십시오. 기능이 운영 체제에 기반하도록 하면 응용 프로그램이 모든 잠재적 대상 운영 체제를 고려하지 않는 경우 문제가 발생할 수 있으므로 좋지 않습니다. 대신, 테스트하는 기능에 해당하는 속성을 사용하십시오. 자세한 내용은 Capabilities 클래스 설명을 참조하십시오.

서버 문자열은 V입니다.



구현
    public static function get version():String

예제  ( 예제 사용 방법 )
다음 예는 현재 화면 해상도 및 운영 체제 버전을 나타내는 간단한 테스트입니다. 이 예를 테스트할 때 텍스트 필드를 클릭하여 속성 값을 확인하십시오.
import flash.events.*;
import flash.display.*;
import flash.system.Capabilities;
import flash.text.TextField;

var screenInfoTxt:TextField = new TextField();
screenInfoTxt.x = 30;
screenInfoTxt.y = 50;
screenInfoTxt.width = 300;
screenInfoTxt.height = 100;
screenInfoTxt.border = true;

addChild(screenInfoTxt);

addEventListener(MouseEvent.CLICK, getScreenNVersion);

function getScreenNVersion(e:MouseEvent):void{
    screenInfoTxt.text= "flash.system.Capabilities.screenResolutionX is : " + String(flash.system.Capabilities.screenResolutionX) + "\n" +
    "flash.system.Capabilities.screenResolutionY is : " + String(flash.system.Capabilities.screenResolutionY) + "\n" +
    "flash.system.Capabilities.version is : " + flash.system.Capabilities.version;
}
메서드 세부 정보

hasMultiChannelAudio

()메서드
public static function hasMultiChannelAudio(type:String):Boolean

언어 버전: ActionScript 3.0
런타임 버전: Flash Player 11, AIR 3

시스템에서 특정 유형의 다중 채널 오디오를 지원하는지 여부를 나타냅니다. flash.media.AudioDecoder 클래스는 가능한 유형을 열거합니다.

AIR 프로파일 지원: 다중 채널 오디오는 AIR for TV 장치에서만 지원됩니다. 다른 모든 장치에서 이 메서드는 항상 false를 반환합니다. 여러 프로파일 간 API 지원에 대한 자세한 내용은 AIR 프로파일 지원을 참조하십시오.

참고: DTS 오디오 코덱 중 하나를 사용할 때는 hasMultiChannelAudio()true를 반환하지만 DTS 오디오가 재생되지 않는 경우가 있습니다. 예를 들어 S/PDIF 출력이 있는 Blu-ray 플레이어를 구식 앰프에 연결한 경우를 가정해 봅니다. 구식 앰프는 DTS를 지원하지 않지만 Blu-ray 플레이어에 이를 알려줄 프로토콜이 S/PDIF에 없습니다. Blu-ray 플레이어가 구식 앰프에 DTS 스트림을 보내면 사용자에게 아무 것도 들리지 않습니다. 따라서 DTS를 사용할 때는 사운드가 재생되지 않는 경우를 사용자가 알릴 수 있도록 사용자 인터페이스를 제공하는 것이 좋습니다. 이렇게 하면 응용 프로그램에서 다른 코덱으로 전환할 수 있습니다.

다음 표에서는 각 다중 채널 오디오 유형의 서버 문자열을 보여 줍니다.

다중 채널 오디오 유형서버 문자열
AudioDecoder.DOLBY_DIGITALDD
AudioDecoder.DOLBY_DIGITAL_PLUSDDP
AudioDecoder.DTSDTS
AudioDecoder.DTS_EXPRESSDTE
AudioDecoder.DTS_HD_HIGH_RESOLUTION_AUDIODTH
AudioDecoder.DTS_HD_MASTER_AUDIODTM

매개 변수

type:String — 다중 채널 오디오 유형을 나타내는 문자열 값입니다. 유효한 값은 flash.media.AudioDecoder에 정의된 상수입니다.

반환값
Boolean — 시스템에서 type 매개 변수로 전달된 다중 채널 오디오 유형을 지원할 경우 부울 값 true입니다. 그렇지 않으면 반환 값은 false입니다.

관련 API 요소


예제  ( 예제 사용 방법 )
다음 코드는 hasMultiChannelAudio() 호출의 반환 값을 추적합니다. 반환 값은 시스템에서 Dolby Digital 다중 채널 오디오를 지원하는지 여부를 나타냅니다.
    trace(Capabilities.hasMultiChannelAudio(flash.media.AudioDecoder.DOLBY_DIGITAL);
    
CapabilitiesExample.as

다음 예는 flash.system.Capabilities 객체에서 찾은 값을 출력합니다. 먼저, 텍스트 필드에 값을 출력합니다. 그런 다음 trace()에 대한 몇 번의 호출을 사용하여 값을 출력합니다.
package {
    import flash.display.Sprite;
    import flash.system.Capabilities;
    import flash.text.TextField;
    import flash.text.TextFieldAutoSize;

    public class CapabilitiesExample extends Sprite {
        
        public function CapabilitiesExample() {
            showCapabilities();
        }
        
        private function showCapabilities():void {
            var tf:TextField = new TextField();
            tf.height = 600;
            tf.width = 400;
            tf.autoSize = TextFieldAutoSize.LEFT;
            tf.wordWrap = true;
            
            tf.text = "avHardwareDisable: " + Capabilities.avHardwareDisable +
                
                "\nhasAccessibility: " + Capabilities.hasAccessibility +
                "\nhasAudio: " + Capabilities.hasAudio +
                "\nhasAudioEncoder: " + Capabilities.hasAudioEncoder +
                "\nhasEmbeddedVideo: " + Capabilities.hasEmbeddedVideo +
                "\nhasIME: " + Capabilities.hasIME +
                "\nhasMP3: " + Capabilities.hasMP3 +
                "\nhasPrinting: " + Capabilities.hasPrinting +
                "\nhasScreenBroadcast: " + Capabilities.hasScreenBroadcast +
                "\nhasScreenPlayback: " + Capabilities.hasScreenPlayback +
                "\nhasStreamingAudio: " + Capabilities.hasStreamingAudio +
                "\nhasStreamingVideo: " + Capabilities.hasStreamingVideo +
                "\nhasTLS: " + Capabilities.hasTLS +
                "\nhasVideoEncoder: " + Capabilities.hasVideoEncoder +
                "\nisDebugger: " + Capabilities.isDebugger +
                "\nisEmbeddedInAcrobat: " + Capabilities.isEmbeddedInAcrobat +
                "\nlanguage: " + Capabilities.language +
                "\nlocalFileReadDisable: " + Capabilities.localFileReadDisable +
                "\nmanufacturer: " + Capabilities.manufacturer +
                "\nmaxLevelIDC: " + Capabilities.maxLevelIDC +
                "\nos: " + Capabilities.os +
                "\npixelAspectRatio: " + Capabilities.pixelAspectRatio +
                "\nplayerType: " + Capabilities.playerType +
                "\nscreenColor: " + Capabilities.screenColor +
                "\nscreenDPI: " + Capabilities.screenDPI +
                "\nscreenResolutionX: " + Capabilities.screenResolutionX +
                "\nscreenResolutionY: " + Capabilities.screenResolutionY +
                "\nserverString: " + Capabilities.serverString +
                "\ntouchscreenType: " + Capabilities.touchscreenType +
                
                // The following capabilities are supported only when publishing for AIR.
                // If you are publishing for AIR, uncomment the following lines.
                //"\nlanguages: " + Capabilities.languages +
                //"\ncpuArchitecture: " + Capabilities.cpuArchitecture +
                //"\nsupports32BitProcesses: " + Capabilities.supports32BitProcesses +
                //"\nsupports64BitProcesses: " + Capabilities.supports64BitProcesses +    
                                
                "\nversion: " + Capabilities.version;
                
            addChild(tf);   
                
            trace("avHardwareDisable: " + Capabilities.avHardwareDisable);
            trace("hasAccessibility: " + Capabilities.hasAccessibility);
            trace("hasAudio: " + Capabilities.hasAudio);
            trace("hasAudioEncoder: " + Capabilities.hasAudioEncoder);
            trace("hasEmbeddedVideo: " + Capabilities.hasEmbeddedVideo);
            trace("hasIME: " + Capabilities.hasIME);
            trace("hasMP3: " + Capabilities.hasMP3);
            trace("hasPrinting: " + Capabilities.hasPrinting);
            trace("hasScreenBroadcast: " + Capabilities.hasScreenBroadcast);
            trace("hasScreenPlayback: " + Capabilities.hasScreenPlayback);
            trace("hasStreamingAudio: " + Capabilities.hasStreamingAudio);
            trace("hasStreamingVideo: " + Capabilities.hasStreamingVideo);
            trace("hasTLS: " + Capabilities.hasTLS);
            trace("hasVideoEncoder: " + Capabilities.hasVideoEncoder);
            trace("isDebugger: " + Capabilities.isDebugger);
            trace("isEmbeddedInAcrobat: " + Capabilities.isEmbeddedInAcrobat);
            trace("language: " + Capabilities.language);
            trace("localFileReadDisable: " + Capabilities.localFileReadDisable);
            trace("manufacturer: " + Capabilities.manufacturer);
            trace("maxLevelIDC: " + Capabilities.maxLevelIDC);
            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("touchscreenType: " + Capabilities.touchscreenType);
            
            // The following capabilities are supported only when publishing for AIR.
            // If you are publishing for AIR, uncomment the following lines.       
            //trace("cpuArchitecture: " + Capabilities.cpuArchitecture);
            //trace("languages: " + Capabilities.languages);
            //trace("supports32BitProcesses: " + Capabilities.supports32BitProcesses);
            //trace("supports64BitProcesses: " + Capabilities.supports64BitProcesses);        
                        
            trace("version: " + Capabilities.version);
       
        }
    }
}





[ X ]영어로 표시되는 이유
ActionScript 3.0 참조 설명서의 내용이 영어로 나타납니다.

ActionScript 3.0 참조 설명서 중 일부는 전체 언어로 번역되지 않았습니다. 언어 요소가 번역되지 않은 경우 영어로 나타납니다. 예를 들어 ga.controls.HelpBox 클래스는 어떤 언어로도 번역되지 않았습니다. 그러므로 한국어 버전의 참조 설명서에서 ga.controls.HelpBox 클래스는 영어로 나타납니다.