User Guide

1474 Window component
Methods inherited from the UIComponent class
The following table lists the methods the Window class inherits from the UIComponent
class. When calling these methods from the Window object, use the form
WindowInstance.methodName.
Property summary for the Window class
The following table lists properties of the Window class.
Properties inherited from the UIObject class
The following table lists the properties the Window class inherits from the UIObject class.
When accessing these properties from the Window object, use the form
WindowInstance.propertyName.
Method Description
UIComponent.getFocus() Returns a reference to the object that has focus.
UIComponent.setFocus() Sets focus to the component instance.
Property Description
Window.closeButton Indicates whether a close button is (true) or is not (false)
included on the title bar.
Window.content A reference to the content (root movie clip) of the window
(read-only).
Window.contentPath Sets the name of the content to display in the window.
Window.title The text that appears in the title bar.
Window.titleStyleDeclaration The style declaration that formats the text in the title bar.
Property Description
UIObject.bottom Read-only; the position of the bottom edge of the object,
relative to the bottom edge of its parent.
UIObject.height Read-only; the height of the object, in pixels.
UIObject.left Read-only; the left edge of the object, in pixels.
UIObject.right Read-only.The position of the right edge of the object,
relative to the right edge of its parent.
UIObject.scaleX A number indicating the scaling factor in the x direction of the
object, relative to its parent.