User Guide

812 Chapter 6: Components Dictionary
UIObject.destroyObject()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
componentInstance.destroyObject(instanceName)
Parameters
instanceName
A string indicating the instance name of the object to be destroyed.
Returns
Nothing.
Description
Method; destroys a component instance.
UIObject.doLater()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX 2004.
Usage
componentInstance.doLater(target, "function")
Parameters
target
A reference to a Timeline that contains the specified function.
function A string indicating a function name to be called after a frame has passed.
Returns
Nothing.
Description
Method; calls a user-defined function only after the component has finished setting all of its
properties from the Property inspector or Component inspector. All version 2 components that
inherit from UIObject have the
doLater() method.
Component properties set in the Property inspector or Component inspector may not be
immediately available to ActionScript in the Timeline. For example, attempting to trace the
label property from a CheckBox component using ActionScript on the first frame of your SWF
fails without notification, even though the component appears on the Stage as expected.