User Guide
1372 UIObject class
All operations that change the component’s appearance can call invalidate() instead of
redrawing the component themselves. This has some advantages: code isn’t duplicated
unnecessarily, and multiple changes can easily be batched up into one redraw, instead of
causing multiple, redundant redraws.
Example
The following example marks the ProgressBar instance pBar for redrawing:
pBar.invalidate();
UIObject.left
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX 2004.
Usage
componentInstance.left
Description
Property (read-only); a number indicating the left edge of the object, in pixels, relative to its
parent. To set this property, call
UIObject.move().
UIObject.load
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX 2004.
Usage
Usage 1:
var listenerObject:Object = new Object();
listenerObject.load = function(eventObject:Object) {
// ...
};
componentInstance.addEventListener("load", listenerObject);