Flash CS3 Documentation |
|||
| ActionScript 2.0 Components Language Reference > UIObject class > UIObject.createObject() | |||
Flash Player 6 (6.0.79.0).
Flash MX 2004.
componentInstance.createObject(linkageName,instanceName,depth,initObject)
linkageName A string indicating the linkage identifier of a symbol in the library.
instanceName A string indicating the instance name of the new instance.
depth A number indicating the depth of the new instance.
initObject An object containing initialization properties for the new instance.
A UIObject object that is an instance of the symbol.
Method; creates a subobject on an object. This method is generally used only by component developers or advanced developers.
The following example creates a CheckBox instance on the form object:
form.createObject("CheckBox", "sym1", 0);
Flash CS3
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/9.0/main/00003655.html