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
    Instance properties
    Class methods
    Class methods inherited from View
    Class methods inherited from UIObject
    Instance methods
    Event handlers
    Event handlers inherited from UIComponent

    Constructor

    Screen

    function Screen (
    )

    Class properties

    currentFocusedScreen

    static currentFocusedScreen:Screen
    (read)

    Current leaf-most screen containing the global 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

    numChildScreens

    numChildScreens:Number
    (read)

    number of child screens of this screen
    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

    parentScreen

    parentScreen:Screen
    (read)

    Screen containing this screen. May be null for the root screen.
    Read-Only: use createChild() to add new child screens

    rootScreen

    rootScreen:Screen
    (read)

    Root of the screen subtree that contains this screen
    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

    Instance methods

    allTransitionsInDone

    function allTransitionsInDone (
    )

    allTransitionsOutDone

    function allTransitionsOutDone (
    )

    childLoaded

    function childLoaded (
    obj:MovieClip) : Void

    Parameters:
    obj:
    the loaded child
    #

    createChild

    function createChild (
    className:String, instanceName:String, initProps:Object) : MovieClip

    createChildren

    function createChildren (
    ) : Void

    destroyChildAt

    function destroyChildAt (
    childIndex:Number) : Void

    destroy the Nth child object. Remaining child objects get renumbered
    #
    Parameters:
    childIndex:
    a number from 0 to N-1
    #
    Returns:
    • a reference to the child
      #

    doScaleLoader

    function doScaleLoader (
    ) : Void

    drawFocus

    function drawFocus (
    )

    getChildScreen

    function getChildScreen (
    childIndex:Number) : Screen

    Get the nth child of a screen (zero-based)
    Parameters:
    childIndex:
    which screen to get

    init

    private function init (
    )

    registerChildScreen

    private function registerChildScreen (
    scrn:Screen)