Object.registerClass()
Availability
Flash Player 6.
Usage
Object.registerClass(symbolID:String, theClass:Function) : Boolean
Parameters
String; the linkage identifier of the movie clip symbol or the string identifier for the
symbolID
ActionScript class.
A reference to the constructor function of the ActionScript class or
theClass
unregister the symbol.
Returns
A Boolean value: if the class registration succeeds, a value of
Description
Method; associates a movie clip symbol with an ActionScript object class. If a symbol doesn't
exist, Flash creates an association between a string identifier and an object class.
If a symbol is already registered to a class, this method replaces it with the new registration.
Object.__resolve
Availability
Flash Player 6.
Usage
myObject.__resolve = function (name:String) {
// your statements here
};
Parameters
A string representing the name of the undefined property.
name
Returns
Nothing
Description
Property; a reference to a user-defined function that is invoked if ActionScript code refers to an
undefined property or method. If ActionScript code refers to an undefined property or method of
an object, Flash Player determines whether the object's
is defined, the function to which it refers is executed and passed the name of the
__resolve
undefined property or method. This lets you programmatically supply values for undefined
properties and statements for undefined methods and make it seem as if the properties or
methods are actually defined.
is returned;
true
property is defined. If
__resolve
Object.__resolve
to
null
otherwise.
false
381
Need help?
Do you have a question about the FLEX-FLEX ACTIONSCRIPT LANGUAGE and is the answer not in the manual?