User Guide
884 Chapter 6: Components Dictionary
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.
UIObject.destroyObject() Destroys a component instance.
UIObject.doLater() Calls a function when parameters have been set in the Property and
Component inspectors.
UIObject.getStyle() Gets the style property from the style declaration or object.
UIObject.invalidate() Marks the object so it will be redrawn on the next frame interval.
UIObject.move() Moves the object to the requested position.
UIObject.redraw() Forces validation of the object so it is drawn in the current frame.
UIObject.setSize() Resizes the object to the requested size.
UIObject.setSkin() Sets a skin in the object.
UIObject.setStyle() Sets the style property on the style declaration or object.
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.
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.
Method Description