Screen
| Kind of class: | class |
|---|---|
| Inherits from: | Loader < View < UIComponent < UIObject < MovieClip |
| Known subclasses: | |
| Classpath: | mx.screens.Screen |
| File last modified: | Tuesday, 18 December 2007, 15:44:38 |
Component metadata:
| Event | "allTransitionsInDone" |
|---|
Summary
Constructor
Class properties
- symbolName : String
- symbolOwner : Object
- currentFocusedScreen : Screen
- Current leaf-most screen containing the global focus
Class properties inherited from Loader
Class properties inherited from View
Class properties inherited from UIComponent
Class properties inherited from UIObject
Instance properties
- className : String
- _isScreen : Boolean
- _childScreens : Array
- _indexInParent : Number
- __transitionManager
- _childLoading : String
- borderStyle : String
- indexInParent : Number
- zero-based index of this screen in its parent (getChildScreen)
- numChildScreens : Number
- number of child screens of this screen
- parentIsScreen : Boolean
- True if this screen's _parent is a screen
- parentScreen : Screen
- Screen containing this screen.
- rootScreen : Screen
- Root of the screen subtree that contains this screen
- transitionManager : Object
- Object that manages the current transitions for this single screen
Instance properties inherited from Loader
Instance properties inherited from View
Instance properties inherited from UIComponent
Instance properties inherited from UIObject
__height __onUnload __width _color _endInit _id _maxHeight _maxWidth _minHeight _minWidth _preferredHeight _preferredWidth _tf _topmost addEventListener bottom buildDepthTable changeColorStyleInChildren changeTextStyleInChildren childrenCreated className clipParameters color createAccessibilityImplementation createChildAtDepth createClassChildAtDepth createEvent dispatchEvent embedFonts findNextAvailableDepth fontFamily fontSize fontStyle fontWeight handleEvent height idNames ignoreClassStyleDeclaration initProperties invalidateFlag left lineColor lineWidth marginLeft marginRight methodTable minHeight minWidth notifyStyleChangeInChildren removeEventListener right scaleX scaleY setStyle stylecache styleName tabEnabled textAlign textDecoration textIndent tfList top validateNow visible width x y
Class methods
Class methods inherited from UIObject
Instance methods
- getChildScreen (childIndex:Number) : Screen
- Get the nth child of a screen (zero-based)
- createChild (className:String, instanceName:String, initProps:Object) : MovieClip
- drawFocus
- init
- registerChildScreen (scrn:Screen)
- childLoaded (obj:MovieClip) : Void
- doScaleLoader : Void
- createChildren : Void
- allTransitionsInDone
- allTransitionsOutDone
- destroyChildAt (childIndex:Number) : Void
- destroy the Nth child object.Instance methods inherited from LoaderInstance methods inherited from ViewInstance methods inherited from UIObject__getTextFormat _createChildren _getTextFormat cancelAllDoLaters constructObject createChildren createClassObject createEmptyObject createLabel createObject createSkin destroyObject doLater doLaterDispatcher draw drawRect getClassStyleDeclaration getMinHeight getMinWidth getSkinIDName getStyle getStyleName init initFromClipParameters invalidate invalidateStyle move redraw setColor setMinHeight setMinWidth setSize setSkin setVisible sizeEvent handlersEvent handlers inherited from UIComponent
Constructor
Screen
function Screen (
)
Class properties
currentFocusedScreen
Current leaf-most screen containing the global focus
Read-Only: setFocus() to change focus
Read-Only: setFocus() to change focus
symbolName
static symbolName:String = "Screen"
(read)
symbolOwner
static symbolOwner:Object = mx.screens.Screen
(read)
Instance properties
__transitionManager
private __transitionManager = null
(read)
_childLoading
private _childLoading:String = ""
(read)
_childScreens
private _childScreens:Array
(read)
_indexInParent
private _indexInParent:Number = 0
(read)
_isScreen
private _isScreen:Boolean = true
(read)
borderStyle
borderStyle:String = "none"
(read)
className
className:String = "Screen"
(read)
indexInParent
indexInParent:Number
(read)
zero-based index of this screen in its parent (getChildScreen)
Read-Only: use createChild() to add new child screens
Read-Only: use createChild() to add new child screens
numChildScreens
numChildScreens:Number
(read)
number of child screens of this screen
Read-Only: use createChild() to add new child screens
Read-Only: use createChild() to add new child screens
parentIsScreen
parentIsScreen:Boolean
(read)
True if this screen's _parent is a screen
Read-Only: use createChild() to add new child screens
Read-Only: use createChild() to add new child screens
parentScreen
Screen containing this screen. May be null for the root screen.
Read-Only: use createChild() to add new child screens
Read-Only: use createChild() to add new child screens
rootScreen
Root of the screen subtree that contains this screen
Read-Only: use createChild() to add new child screens
Read-Only: use createChild() to add new child screens
transitionManager
transitionManager:Object
(read)
Object that manages the current transitions for this single screen
Read-Only: use transitionManager.start to add new transitions
Read-Only: use transitionManager.start to add new transitions
Instance methods
allTransitionsInDone
function allTransitionsInDone (
)
allTransitionsOutDone
function allTransitionsOutDone (
)
createChild
function createChild (
className:String,
instanceName:String,
initProps:Object) : MovieClip
destroyChildAt
function destroyChildAt (
childIndex:Number) : Void
destroy the Nth child object. Remaining child objects get renumbered
# drawFocus
function drawFocus (
)
getChildScreen
Get the nth child of a screen (zero-based)
Parameters:
childIndex:
which screen to get
init
private function init (
)