您的位置:首页 > 大数据 > 人工智能

Adobe AIR新增功能

2009-03-01 02:26 302 查看
 

Adobe AIR新增功能 
这一节给AIR新增的功能做一个概览。
 新的运行时类

 运行时类的新功能

 新的监控伺服类

新的运行时类(runtime classes)
下面都是Adobe AIR新增的运行时类,这些功能不能用于浏览器中运行的SWF:
 





Clipboard

flash.desktop

ClipboardFormats

flash.desktop

CompressionAlgorithm

flash.utils

ClipboardTransferMode

flash.desktop

DockIcon

flash.display

DragActions

flash.desktop

DragManager

flash.desktop

DragOptions

flash.desktop

DRMAuthenticateEvent

flash.events

DRMStatusEvent

flash.events

EncryptedLocalStore

flash.filesystem

File

flash.filesystem

FileListEvent

flash.events

FileMode

flash.filesystem

FileStream

flash.filesystem

HTMLControl

flash.html

HTMLHistoryItem

flash.html

HTMLHost

flash.html

HTMLPDFCapability

flash.html

HTMLUncaughtJavaScriptExceptionEvent

flash.html

HTMLWindowCreateOptions

flash.html

Icon

flash.desktop

InteractiveIcon

flash.display

InvokeEvent

flash.events

JavaScriptFunction

flash.html

JavaScriptObject

flash.html

NativeDragEvent

flash.events

NativeMenu

flash.display

NativeMenuItem

flash.display

NativeWindow

flash.display

NativeWindowBoundsEvent

flash.events

NativeWindowDisplayState

flash.display

NativeWindowDisplayStateEvent

flash.events

NativeWindowErrorEvent

flash.events

NativeWindowIcon

flash.display

NativeWindowInitOptions

flash.display

NativeWindowResize

flash.display

NativeWindowSystemChrome

flash.display

NativeWindowType

flash.display

NotificationType

flash.display

OutputProgressEvent

flash.events

Screen

flash.display

Shell

flash.system

SQLCollationType

flash.data

SQLColumnNameStyle

flash.data

SQLColumnSchema

flash.data

SQLConnection

flash.data

SQLError

flash.errors

SQLErrorCode

flash.errors

SQLErrorEvent

flash.events

SQLErrorOperation

flash.errors

SQLEvent

flash.events

SQLIndexSchema

flash.data

SQLResult

flash.data

SQLSchema

flash.data

SQLSchemaResult

flash.data

SQLStatement

flash.data

SQLTableSchema

flash.data

SQLTransactionLockType

flash.data

SQLTriggerSchema

flash.data

SQLUpdateEvent

flash.events

SQLViewSchema

flash.data

SystemTrayIcon

flash.display

Updater

flash.system

URLRequestDefaults

flash.net

XMLSignatureValidator

flash.utils

TransferableTransferMode

flash.desktop

URLRequestDefaults

flash.net

Updater

flash.system

大多数类只能在AIR程序安全沙箱中可用,不过下面的这些类也可以用在其他沙箱之上:
Door 

URLRequest. 

 
运行时类新增功能
下面的类能用在浏览器上,但是AIR下提供了额外的属性和方法:



属性和方法

HTTPStatusEvent

HTTP_RESPONSE_STATUS

responseURL

responseHeaders

URLRequest

followRedirects

manageCookies

shouldAuthenticate

shouldCacheResponse

userAgent

userCache

setLoginCredentials()

URLStream

httpResponseStatus event

Stage

nativeWindow

Security

APPLICATION

大多数这些属性和方法都在AIR程序安全沙漏中使用,不过URLRequest 类也可以用在其他安全沙箱中。
ByteArray.compress() 和ByteArray.uncompress()方法包含一个新的算法参数,允许你选择压缩或zlib 压缩。

新的Flex组件
 下面的Flex组件在AIR程序开发时可用:
FileEvent 
FileSystemComboBox 
FileSystemDataGrid 
FileSystemEnumerationMode 
FileSystemHistoryButton 
FileSystemList 
FileSystemSizeDisplayMode 
FileSystemTree 
HTML 
WindowedApplication 
 
监控伺服类
Air.net包包含一些网络监测类,该包也只能在Adobe AIR中使用,需要引入ServiceMonitor.swc文件。
该包包含下列类:
ServiceMonitor 

SocketMonitor 

URLMonitor 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息