User Guide

Loader component 489
Events inherited from the UIComponent class
The following table lists the events the Loader class inherits from the UIComponent class.
Loader.autoLoad
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
loaderInstance.autoLoad
Description
Property; a Boolean value that indicates whether to automatically load the content (true), or wait
until
Loader.load() is called (false). The default value is true.
Example
The following code sets up the loader component to wait for a Loader.load() call:
loader.autoload = false;
Loader.bytesLoaded
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
loaderInstance.bytesLoaded
UIObject.resize Broadcast when an object has been resized.
UIObject.reveal Broadcast when an object’s state changes from invisible to visible.
UIObject.unload Broadcast when the subobjects are being unloaded.
Event Description
UIComponent.focusIn Broadcast when an object receives focus.
UIComponent.focusOut Broadcast when an object loses focus.
UIComponent.keyDown Broadcast when a key is pressed.
UIComponent.keyUp Broadcast when a key is released.
Event Description