Vous êtes sur la page 1sur 7

air.net.

ServiceMonitor
air.net.* Public Properties
available : Boolean
lastUpdated : Date
pollInterval : Number
running : Boolean AIR Cheatsheet actionscriptcheatsheet.com
Public Methods start():void
ServiceMonitor() stop():void adobe.com/go/air
toString():String
flash.desktop.ClipboardManager

flash.desktop.*
augmentPrototype(proto:Object):void

Protected Methods Events Public Properties


checkStatus():void status data : TransferableData
air.net.SocketMonitor Public Methods
accessClipboard(closure:Function):void
Public Properties
host : String port : int flash.desktop.DragActions
Public Methods Public Constants
SocketMonitor(host:String, port:int) toString():String COPY : String = "copy"
Protected Methods LINK : String = "link"
checkStatus():void MOVE : String = "move"
NONE : String = "none"
air.net.URLMonitor
Public Properties flash.desktop.DragManager
acceptableStatuses : Array urlRequest : URLRequest Public Properties
Public Methods dragInitiator : DisplayObject
URLMonitor(urlRequest:URLRequest, acceptableStatuses:Array = null) dropAction : String
toString():String Public Methods
Protected Methods acceptDragDrop(target:DisplayObject):void
checkStatus():void doDrag(initiator:DisplayObject,
transferable:TransferableData,
flash.data.SQLDatabase
flash.data.*

dragImage:BitmapData = null,
Public Properties offset:Point = null,
caseSensitiveLike : Boolean inTransaction : Boolean actionsAllowed:DragOptions = null):void
columnNameStyle : String totalChanges : uint isDragging():Boolean
connected : Boolean version : Number Events
Public Methods nativeDragComplete nativeDragExit
SQLDatabase() nativeDragDrop nativeDragOver
addEventListener(type:String, listener:Function, useCapture:Boolean = false, nativeDragEnter nativeDragStart
priority:int = 0, useWeakReference:Boolean = false):void
analyze(resourceName:String = null):void
flash.desktop.DragOptions
attach(name:String, file:File = null, autoCreate:Boolean = true):void Public Properties allowLink : Boolean = true
begin(option:String = null):void allowCopy : Boolean = true allowMove : Boolean = true
cancel():void Public Methods
clean():void toString():String
close():void
commit():void flash.desktop.Icon
deanalyze():void Public Properties
detach(name:String):void bitmaps : Array
getFile():File
open(file:File = null, autoCreate:Boolean = true, autoClean:Boolean = false, flash.desktop.TransferableData
pageSize:int = -1):void Public Properties
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void formats : Array
rollback():void
Public Methods
Events TransferableData()
status
addData(data:Object,
Public Constants format:String,
DEFAULT_COLUMN_NAMES : String = "defaultColumnNames" serializable:Boolean = true):void
LOCK_DEFERRED : String = "deferred" addHandler(handler:Function,
LOCK_EXCLUSIVE : String = "exclusive" format:String,
LOCK_IMMEDIATE : String = "immediate" serializable:Boolean = true):void
LONG_COLUMN_NAMES : String = "longColumnNames" dataForFormat(format:String,
SHORT_COLUMN_NAMES : String = "shortColumnNames" transferMode:String):Object
flash.data.SQLStatement hasFormat(format:String):Boolean
removeData(format:String):void
Public Properties
executing : Boolean prepared : Boolean flash.desktop.TransferableFormats
itemClass : Class sqlDatabase : SQLDatabase
Public Constants
parameters : Object text : String BITMAP_FORMAT : String = "bitmap"
Public Methods FILE_LIST_FORMAT : String = "file list"
SQLStatement() TEXT_FORMAT : String = "text"
clearParameters():void URL_FORMAT : String = "url"
execute(prefetch:int = -1, responder:Responder = null):void
next(prefetch:int = -1, responder:Responder = null):void flash.desktop.TransferableTransferMode
prepare(responder:Responder = null):void Public Constants
reset(responder:Responder = null):void CLONE_ONLY : String = "cloneOnly"
Events CLONE_PREFERRED : String = "clonePreferred"
ORIGINAL_ONLY : String = "originalOnly"
result
ORIGINAL_PREFERRED : String = "originalPreferred"
status
Page 1
flash.display.* flash.display.NativeMenu
Public Properties
numItems : uint
parent : NativeMenu
AIR Cheatsheet actionscriptcheatsheet.com
adobe.com/go/air
Public Methods
addItem(item:NativeMenuItem):NativeMenuItem flash.display.NativeWindowResize
addItemAt(item:NativeMenuItem, index:uint):NativeMenuItem
containsItem(item:NativeMenuItem):Boolean Public Constants
getItemAt(index:uint):NativeMenuItem BOTTOM : String = "B"
getItemByName(name:String):NativeMenuItem BOTTOM_LEFT : String = "BL"
getItemIndex(item:NativeMenuItem):int BOTTOM_RIGHT : String = "BR"
removeItem(item:NativeMenuItem):NativeMenuItem LEFT : String = "L"
removeItemAt(index:int):NativeMenuItem NONE : String = ""
setItemIndex(item:NativeMenuItem, index:uint):void RIGHT : String = "R"
Events TOP : String = "T"
DISPLAY TOP_LEFT : String = "TL"
DISPLAYING TOP_RIGHT : String = "TR"
SELECT

flash.display.NativeMenuItem flash.display.NativeWindowSystemChrome
Public Properties Public Constants
data : Object label : String ALTERNATE : String = "alternate"
enabled : Boolean labelFont : Font NONE : String = "none"
icon : Bitmap menu : NativeMenu STANDARD : String = "standard"
isSeparator : Boolean mnemonicIndex : uint UTILITY : String = "utility"
keyEquivalent : String name : String
keyEquivalentModifiers : Array submenu : NativeMenu

Public Methods
flash.display.NativeWindowType
NativeMenuItem(label:String = "", isSeparator:Boolean = false) Public Constants
Events LIGHTWEIGHT : String = "lightweight"
DISPLAY NORMAL : String = "normal"
DISPLAYING UTILITY : String = "utility"
SELECT
flash.display.NativeWindow
Public Properties
alwaysInFront : Boolean minSize : Point AIR Application Descriptor File
bounds : Rectangle stage : Stage
closed : Boolean title : String <?xml version="1.0" encoding="UTF-8"?>
displayState : String visible : Boolean
height : Number width : Number <!--
initOptions : NativeWindowInitOptions x : Number Ensure the appID attribute is fully qualified to prevent
maxSize : Point y : Number two AIR apps with the same name from overlapping
//-->
Public Methods <application
NativeWindow(visible:Boolean, initOptions:NativeWindowInitOptions) xmlns="http://ns.adobe.com/air/application/1.0.M4"
close():void appId="com.actionscriptcheatsheet.aircheatsheet"
globalToScreen(globalPoint:Point):Point version="1.0 Beta">
maximize():void
minimize():void <!--
restore():void Application name, shown by OS to user on menus etc.
//-->
startMove():void
<name>AIR Cheatsheet</name>
startResize(edgeOrCorner:String):void
Events <!-- Application title shown during installation //-->
activate displayStateChanging <title>AIR Cheatsheet Installation</title>
close move
closing moving <description>
deactivate resize Quick reference for Adobe AIR. ActionScript
3.0 packages and classes for Adobe AIR Beta 1.
displayStateChange resizing
</description>
flash.display.NativeWindowDisplayState <copyright>
Public Constants © Sean Moore, SeanTheFlashGuy.com
MAXIMIZED : String = "maximized" </copyright>
MINIMIZED : String = "minimized"
NORMAL : String = "normal" <rootContent
systemChrome="standard"
flash.display.NativeWindowInitOptions transparent="false"
visible="true">
Public Properties owner : NativeWindow [SWF reference is generated]
appearsInWindowMenu : Boolean resizable : Boolean </rootContent>
hasMenu : Boolean systemChrome : String
transparent : Boolean </application>
maximizable : Boolean
minimizable : Boolean type : String
Public Methods
NativeWindowInitOptions()
Page 2
flash.events.FileListEvent
flash.events.* Public Properties
files : Array AIR Cheatsheet actionscriptcheatsheet.com
Public Methods
adobe.com/go/air
FileListEvent(type:String,
bubbles:Boolean = false,
cancelable:Boolean = false, flash.events.NativeWindowBoundsEvent
files:Array = null) Public Properties
Public Constants afterBounds : Rectangle
DIRECTORY_LISTING : String = "directoryListing" beforeBounds : Rectangle
SELECT_MULTIPLE : String = "selectMultiple" Public Methods
NativeWindowBoundsEvent(type:String,
flash.events.HTMLUncaughtJavaScriptExceptionEvent bubbles:Boolean = false, cancelable:Boolean = false,
Public Properties beforeBounds:Rectangle = null,
exceptionValue : * afterBounds:Rectangle = null)
stackTrace : Array clone():Event
toString():String
Public Methods
HTMLUncaughtJavaScriptExceptionEvent(exceptionValue:*) Public Constants
clone():Event MOVE : String = "move" RESIZE : String = "resize"
Public Constants MOVING : String = "moving" RESIZING : String = "resizing"
UNCAUGHT_JAVASCRIPT_EXCEPTION : * = uncaughtJavaScriptException
flash.events.NativeWindowDisplayStateEvent
flash.events.HTTPStatusEvent Public Properties
afterDisplayState : String beforeDisplayState : String
Public Properties responseURL : String
responseHeaders : Array status : int Public Methods
Public Methods
Public Methods NativeWindowDisplayStateEvent(type:String, bubbles:Boolean = true,
HTTPStatusEvent(type:String, bubbles:Boolean = false,
cancelable:Boolean = false,
cancelable:Boolean = false, status:int = 0)
beforeDisplayState:String = "",
clone():Event
afterDisplayState:String = "")
toString():String
clone():Event
Public Constants toString():String
HTTP_RESPONSE_STATUS : String = "httpResponseStatus"
HTTP_STATUS : String = "httpStatus" Public Constants
DISPLAY_STATE_CHANGE : String = "displayStateChange"
flash.events.InvokeEvent DISPLAY_STATE_CHANGING : String = "displayStateChanging"

Public Properties flash.events.NativeWindowErrorEvent


arguments : Array currentDirectory : File Public Methods
Public Methods NativeWindowErrorEvent(type:String, bubbles:Boolean = false,
InvokeEvent(type:String, cancelable:Boolean = false,
bubbles:Boolean = false, text:String = "", id:int = 0)
cancelable:Boolean = false, clone():Event
dir:File = null, toString():String
argv:Array = null) Public Constants
clone():Event INVALID_BOUNDS_ERROR : String = "invalidBoundsError"
Public Constants
INVOKE : String = "invoke" flash.events.OutputProgressEvent
flash.events.NativeDragEvent Public Properties
bytesPending : Number bytesTotal : Number
Public Properties dropAction : String
actionsAllowed : DragOptions Public Methods
transferable : TransferableData
OutputProgressEvent(type:String, bubbles:Boolean = false,
Public Methods cancelable:Boolean = false,
NativeDragEvent(type:String, bytesPending:Number = 0,
bubbles:Boolean = false, bytesTotal:Number = 0)
cancelable:Boolean = true, clone():Event
localX:Number = 0, toString():String
localY:Number = 0,
transferable:TransferableData = null,
Public Constants
OUTPUT_PROGRESS : String = "outputProgress"
actionsAllowed:DragOptions = null,
dropAction:String = null, flash.events.SQLResultEvent
ctrlKey:Boolean = false,
altKey:Boolean = false,
Public Properties complete : Boolean
changeCount : uint data : Array
shiftKey:Boolean = false)
clone():Event Public Methods
toString():String SQLResultEvent(type:String, bubbles:Boolean = false,
cancelable:Boolean = false, code:String = "",
Public Constants level:String = "", details:String = "",
NATIVE_DRAG_COMPLETE : String = "nativeDragComplete" data:Array = null, complete:Boolean = true,
NATIVE_DRAG_DROP : String = "nativeDragDrop" changeCount:uint = 0, totalTime:uint = 0)
NATIVE_DRAG_ENTER : String = "nativeDragEnter"
NATIVE_DRAG_EXIT : String = "nativeDragExit" Public Constants
NATIVE_DRAG_OVER : String = "nativeDragOver" RESULT : String = "result"
NATIVE_DRAG_START : String = "nativeDragStart"
Page 3
flash.events.SQLStatusEvent
flash.events.* Public Properties
details : String AIR Cheatsheet
Public Methods actionscriptcheatsheet.com
SQLStatusEvent(type:String, adobe.com/go/air
bubbles:Boolean = false,
cancelable:Boolean = false,
flash.html.HTMLControl

flash.html.*
code:String = "",
level:String = "",
details:String = "") Public Properties
height : Number
Public Constants historyLength : uint
STATUS : String = "status" historyPosition : uint
htmlHeight : Number
flash.events.SQLStatusEventCodes htmlHost : HTMLHost
htmlWidth : Number
Public Constants loaded : Boolean
ABORT_ERROR : String = "abortError" location : String
ANALYZE : String = "analyze" paintsDefaultBackground : Boolean
ATTACH : String = "attach" pdfCapability : int
AUTHORIZATION_ERROR : String = "authorizationError" scrollH : Number
BEGIN : String = "begin" scrollV : Number
BIND_RANGE_ERROR : String = "bindRangeError" useApplicationDomain : ApplicationDomain
BUSY_ERROR : String = "busyError" userAgent : String
CANNOT_OPEN_ERROR : String = "cannotOpenError" width : Number
CLEAN : String = "clean" window : JavaScriptObject
CLOSE : String = "close"
COMMIT : String = "commit" Public Methods
CONSTRAINT_ERROR : String = "constraintError" HTMLControl()
CORRUPT_ERROR : String = "corruptError" cancelLoad():void
DEANALYZE : String = "deanalyze" historyAt(position:uint):URLRequest
DETACH : String = "detach" historyBack():void
EXECUTE : String = "execute" historyForward():void
FORMAT_ERROR : String = "formatError" historyGo(steps:int):void
FULL_ERROR : String = "fullError" load(urlRequestToLoad:URLRequest):void
INTERNAL_ERROR : String = "internalError" loadString(htmlContent:String):void
INTERRUPT_ERROR : String = "interruptError" reload():void
INVALID_DATABASE_ERROR : String = "invalidDatabaseError" Events
IO_ERROR : String = "ioError" complete
LARGE_FILE_SUPPORT_ERROR : String = "largeFileSupportError" domInitialize
LOCKED_ERROR : String = "lockedError" htmlBoundsChange
MISMATCH_ERROR : String = "mismatchError" htmlRender
MISUSE_ERROR : String = "misuseError" locationChange
OPEN : String = "connect" scroll
OUT_OF_MEMORY_ERROR : String = "outOfMemoryError" uncaughtJavaScriptException
PERMISSION_ERROR : String = "permissionError"
PREPARE : String = "prepare"
PROTOCOL_ERROR : String = "protocolError"
flash.html.HTMLHost
READONLY_ERROR : String = "readonlyError" Public Properties
RESET : String = "reset" htmlControl : HTMLControl
ROLLBACK : String = "rollback" windowRect : Rectangle
SCHEMA_ERROR : String = "schemaError"
TOO_BIG_ERROR : String = "tooBigError" Public Methods
UNKNOWN_ERROR : String = "unknownError" HTMLHost(defaultBehaviors:Boolean = true)
createWindow(crtOpt:HTMLWindowCreateOptions):HTMLControl
updateLocation(locationURL:String):void
flash.events.SQLStatusEventLevels updateStatus(status:String):void
updateTitle(title:String):void
Public Constants windowBlur():void
ERROR : String = "error"
windowFocus():void
STATUS : String = "status"

flash.events.SQLUpdateEvent flash.html.HTMLWindowCreateOptions
Public Properties
Public Properties fullscreen : Boolean
kind : String
locationBarVisible : Boolean
rowID : Number
menuBarVisible : Boolean
table : String
resizable : Boolean
Public Methods scrollBarsVisible : Boolean
SQLUpdateEvent(type:String, statusBarVisible : Boolean
bubbles:Boolean = false, toolBarVisible : Boolean
cancelable:Boolean = false,
kind:String = "", flash.html.JavaScriptFunction
table:String = "",
rowID:Number = -1) None
Public Constants flash.html.JavaScriptObject
DELETE : String = "delete"
INSERT : String = "insert" None
UPDATE : String = "update"
Page 4
flash.filesystem.File
flash.filesystem.* Public Properties
AIR Cheatsheet
applicationResourceDirectory : File
applicationStorageDirectory : File actionscriptcheatsheet.com
desktopDirectory : File adobe.com/go/air

flash.filesystem.FileStream

flash.filesystem.*
documentsDirectory : File
exists : Boolean
icon : Icon Public Properties objectEncoding : uint
isDirectory : Boolean bytesAvailable : uint position : Number
isHidden : Boolean endian : String readAhead : Number
lineEnding : String
nativePath : String
Public Methods
FileStream() readUnsignedShort():uint
parent : File
close():void readUTF():String
separator : String
open(file:File, fileMode:String):void readUTFBytes(length:uint):String
systemCharset : String
openAsync(file:File, truncate():void
url : String
fileMode:String):void writeBoolean(value:Boolean):void
userDirectory : File
readBoolean():Boolean writeByte(value:int):void
Public Methods readByte():int writeBytes(bytes:ByteArray,
File(path:String = null) readBytes(bytes:ByteArray, offset:uint = 0,
browseForDirectory(title:String):void offset:uint = 0, length:uint = 0):void
browseForOpen(title:String, length:uint = 0):void writeDouble(value:Number):void
typeFilter:Array = null):void readDouble():Number writeFloat(value:Number):void
browseForOpenMultiple(title:String, readFloat():Number writeInt(value:int):void
typeFilter:Array = null):void readInt():int writeMultiByte(value:String,
browseForSave(title:String):void readMultiByte(length:uint, charSet:String):void
cancel():void charSet:String):String writeObject(object:*):void
canonicalize():void readObject():* writeShort(value:int):void
clone():File readShort():int writeUnsignedInt(value:uint):void
copyTo(newLocation:FileReference, readUnsignedByte():uint writeUTF(value:String):void
clobber:Boolean = false):void readUnsignedInt():uint writeUTFBytes(value:String):void
copyToAsync(newLocation:FileReference,
clobber:Boolean = false):void Events ioError
createDirectory():void close outputProgress
createTempDirectory():File complete progress
createTempFile():File
deleteDirectory(deleteDirCont:Boolean = false):void
deleteDirectoryAsync(deleteDiCont:Boolean = false):void
flash.system.NativeWindowCapabilities
flash.system.*

deleteFile():void
deleteFileAsync():void Public Properties
listDirectory():Array hasAlternateSystemChrome : Boolean
listDirectoryAsync():void hasApplicationIcon : Boolean
listRootDirectories():Array hasWindowIcon : Boolean
moveTo(newLocation:FileReference, windowHasMenu : Boolean
clobber:Boolean = false):void windowMaxSize : Point
moveToAsync(newLocation:FileReference, windowMinSize : Point
clobber:Boolean = false):void
moveToTrash():void
moveToTrashAsync():void flash.system.Shell
relativize(ref:FileReference,
useDotDot:Boolean = false):String Public Properties
resolve(path:String):File autoExit : Boolean
id : String
Events menu : NativeMenu
cancel shell : Shell
complete
directoryListing Public Methods
ioError addEventListener(type:String,
securityError listener:Function,
select useCapture:Boolean = false,
selectMultiple priority:int = 0,
useWeakReference:Boolean = false):void
flash.filesystem.FileMode dispatchEvent(event:Event):Boolean
exit(errorCode:int = 0):void
Public Constants
APPEND : String = "append" Events
READ : String = "read" activate
UPDATE : String = "update" deactivate
WRITE : String = "write" invoke
networkChange

flash.system.Updater
Public Methods
Updater()
update(airFile:File, version:String):void

Page 5
mx.controls.FileSystemComboBox
mx.controls.* Public Properties
AIR Cheatsheet
COMPUTER : File indent : int
directory : File showIcons : Boolean actionscriptcheatsheet.com
adobe.com/go/air
Public Methods mx.controls.FileSystemList

mx.controls.*
FileSystemComboBox()
Public Properties enumerationMode : String
Events backHistory : Array extensions : Array
directoryChange canNavigateBack : Boolean filterFunction : Function
canNavigateDown : Boolean forwardHistory : Array
Styles
canNavigateForward : Boolean nameCompareFunction : Function
computerIcon
canNavigateUp : Boolean showExtensions : Boolean
directoryIcon
COMPUTER : File showHidden : Boolean
mx.controls.FileSystemDataGrid directory : File showIcons : Boolean

Public Properties Public Methods


backHistory : Array FileSystemList()
canNavigateBack : Boolean clear():void
canNavigateDown : Boolean findItemMatching(file:File):File
canNavigateForward : Boolean navigateBack(index:int = 0):void
canNavigateUp : Boolean navigateDown():void
COMPUTER : File navigateForward(index:int = 0):void
creationDateColumn : DataGridColumn navigateTo(directory:File):void
dateFormatString : String navigateUp():void
directory : File refresh():void
enumerationMode : String
extensions : Array Events directoryOpening
filterFunction : Function directoryChange select
forwardHistory : Array
Styles
modificationDateColumn : DataGridColumn
directoryIcon
nameColumn : DataGridColumn
fileIcon
nameCompareFunction : Function
refreshInterval
showExtensions : Boolean
showHidden : Boolean
showIcons : Boolean mx.controls.FileSystemSizeDisplayMode
sizeColumn : DataGridColumn Public Constants
sizeDisplayMode : String BYTES : String = "bytes"
typeColumn : DataGridColumn KILOBYTES : String = "kilobytes"
Public Methods
FileSystemDataGrid() mx.controls.FileSystemTree
clear():void
findItemMatching(file:File):File Public Properties filterFunction : Function
navigateBack(index:int = 0):void COMPUTER : File nameCompareFunction : Function
navigateDown():void directory : File showExtensions : Boolean
navigateForward(index:int = 0):void enumerationMode : String showHidden : Boolean
navigateTo(directory:File):void extensions : Array showIcons : Boolean
navigateUp():void
Public Methods
refresh():void
FileSystemTree() findItemMatching(file:File):File
clear():void openSelectedSubdirectory():void
Events directoryOpening closeSelectedSubdirectory():void refresh():void
directoryChange select
Events
Styles fileIcon directoryChange directoryOpening
directoryIcon refreshInterval directoryClosing select

mx.controls.FileSystemEnumerationMode mx.controls.HTML
Public Constants Public Properties
DIRECTORIES_FIRST : String = "directoriesFirst" data : Object
DIRECTORIES_ONLY : String = "directoriesOnly" htmlControl : HTMLControl
FILES_AND_DIRECTORIES : String = "filesAndDirectories" htmlText : String
FILES_FIRST : String = "filesFirst" javaScriptDocument : JavaScriptObject
FILES_ONLY : String = "filesOnly" javaScriptWindow : JavaScriptObject
listData : BaseListData
mx.controls.FileSystemHistoryButton loaded : Boolean
location : String
Public Properties useApplicationDomain : ApplicationDomain
dataProvider : Object
Public Methods
Public Methods HTML()
FileSystemHistoryButton() Events htmlRender
complete locationChange
Events domInitialize uncaughtJavaScriptException
itemClick
Styles paddingLeft
htmlControlClass paddingRight
paddingBottom paddingTop
Page 6
mx.core.IWindow
mx.core.* Public Properties
AIR Cheatsheet
status : String titleIcon : Class
title : String window : NativeWindow actionscriptcheatsheet.com
adobe.com/go/air
Public Methods mx.core.windowClasses.StatusBar

mx.core.windowClasses.*
close():void minimize():void
maximize():void restore():void Public Properties
data : Object
status : String
mx.core.Window
Public Methods
mx.core.WindowedApplication StatusBar()
Public Properties Protected Methods
activated : Boolean commitProperties():void
bounds : Rectangle createChildren():void
controlBar : IUIComponent measure():void
height : Number updateDisplayList(unscaledWidth:Number,
maximizable : Boolean unscaledHeight:Number):void
maximumHeight : Number
maximumWidth : Number mx.core.windowClasses.TitleBar
minimizable : Boolean
minimumHeight : Number = 100 Public Properties
minimumWidth : Number = 100 closeButton : Button minimizeButton : Button
resizable : Boolean data : Object title : String
showStatusBar : Boolean maximizeButton : Button titleIcon : Class
status : String
systemChrome : String Protected Properties
title : String titleTextField : UITextField
titleIcon : Class
transparent : Boolean Public Methods
type : String TitleBar()
width : Number styleChanged(styleProp:String):void
window : NativeWindow
Protected Methods
windowVisible : Boolean
commitProperties():void
Protected Properties doubleClickHandler(event:MouseEvent):void
statusBar : Object placeButtons(align:String,
titleBar : Object unscaledWidth:Number,
unscaledHeight:Number,
leftOffset:Number,
Public Methods rightOffset:Number,
Window() orderToBack():void cornerOffset:Number):void
activate():void orderToFront():void placeTitle(titleAlign:String,
close():void restore():void leftOffset:Number,
maximize():void rightOffset:Number,
minimize():void buttonAlign:String):void
orderInBackOf(win:NativeWindow):void
orderInFrontOf(win:NativeWindow):void

Protected Methods
mouseDownHandler(event:MouseEvent):void

Events displayStateChanging
About The Author: seantheflashguy@gmail.com
applicationActivate initialLayoutComplete
applicationDeactivate move Sean Moore is currently located in
closing moving sunny San Diego CA working as a
displayStateChange networkChange freelance ActionScript Programmer
and Flash Developer. Please get in
Styles touch for his rates and availability.
buttonAlignment statusBackgroundSkin
buttonPadding statusBarBackgroundColor Sean is a highly skilled ActionScript
closeButtonMacStyleName statusBarClass Developer with extensive experience
closeButtonStyleName statusTextStyleName developing for the Flash Platform.
headerHeight titleAlignment
maximizeButtonMacStyleName titleBarBackgroundSkin
maximizeButtonStyleName
titleBarButtonPadding Sean is currently focusing on Flex 2, Flex 3, Adobe AIR, Action-
minimizeButtonMacStyleName
titleBarClass Script 3.0, Papervision 3D, OOP and Design Patterns. Applica-
minimizeButtonStyleName
restoreButtonStyleName titleBarColors
tions Sean has helped create are being used today by several
showFlexChrome titleTextStyleName prominent Government Agencies including the USAF and NARA.

Some of Sean's specialties are: ActionScript 3.0 Programming,


Effects
closeEffect
Application Architecture for the Flash Platform, Flash and
minimizeEffect ActionScript consultation, AIR development, Flex Development
unminimizeEffect and Papervision 3D Programming. Sean also has extensive
experience with ActionScript 1.0, ActionScript 2.0, Flash MX and
Flash MX 2004.

http://www.seantheflashguy.com/blog
Page 7

mx.core.WindowedApplication
Public Properties
bounds : Rectangle
height : Number
maximumHeight : Number
maximumWidth : Number
minimumHeight : Number = 100
minimumWidth : Number = 100
resizable : Boolean
showStatusBar : Boolean
status : String
title : String
titleIcon : Class
width : Number
window : NativeWindow
Protected Properties
statusBar : Object
titleBar : Object

Public Methods
WindowedApplication()
close():void
maximize():void
minimize():void
restore():void

Protected Methods
mouseDownHandler(event:MouseEvent):void

Events displayStateChanging
applicationActivate initialLayoutComplete
applicationDeactivate move
closing moving
displayStateChange networkChange

Styles
buttonAlignment statusBackgroundSkin
buttonPadding statusBarBackgroundColor
closeButtonMacStyleName statusBarClass
closeButtonStyleName statusTextStyleName
headerHeight titleAlignment
maximizeButtonMacStyleName titleBarBackgroundSkin
maximizeButtonStyleName
minimizeButtonMacStyleName
titleBarButtonPadding
minimizeButtonStyleName
titleBarClass
restoreButtonStyleName titleBarColors
showFlexChrome titleTextStyleName

Effects
closeEffect
minimizeEffect
unminimizeEffect

Vous aimerez peut-être aussi