User Guide
1076 Screen class (Flash Professional only)
Property summary for the Screen class
The following table lists properties of the Screen class.
Properties inherited from the UIObject class
The following table lists the properties the Screen class inherits from the UIObject class.
When accessing these properties from the Screen object, use the form
ScreenInstance.propertyName.
Property Description
Screen.currentFocusedScreen Read-only; returns the screen that contains the global
current focus.
Screen.indexInParent Read-only; returns the screen’s index (zero-based) in its
parent screen’s list of child screens.
Screen.numChildScreens Read-only; returns the number of child screens contained by
the screen.
Screen.parentIsScreen Read-only; returns a Boolean (true or false) value that
indicates whether the screen’s parent object is itself a
screen.
Screen.parentScreen Read-only; returns the screen that contains the specified
screen.
Screen.rootScreen Read-only; returns the root screen of the tree or subtree that
contains the screen.
Property Description
UIObject.bottom The position of the bottom edge of the object, relative to the
bottom edge of its parent. Read-only.
UIObject.height The height of the object, in pixels. Read-only.
UIObject.left The left edge of the object, in pixels. Read-only.
UIObject.right The position of the right edge of the object, relative to the
right edge of its parent. Read-only.
UIObject.scaleX A number indicating the scaling factor in the x direction of the
object, relative to its parent.
UIObject.scaleY A number indicating the scaling factor in the y direction of the
object, relative to its parent.
UIObject.top The position of the top edge of the object, relative to its
parent. Read-only.