|
Object (object)
The generic Object object is at the root of the ActionScript class hierarchy. The generic ActionScript Object object contains a small subset of the features provided by the JavaScript Object object. In Flash MX, the Object object has become a native object. As such, you will experience dramatic improvement in performance.
The generic Object object is supported in Flash Player 5.
Method summary for the Object object
| Method |
Description |
Object.addProperty |
Creates a getter/setter property on an object. |
Object.registerClass |
Assigns an ActionScript class to a movie clip instance. |
Object.toString |
Converts the specified object to a string, and returns it. |
Object.unwatch |
Removes the registration that an Object.watch method created. |
Object.valueOf |
Returns the primitive value of an Object object. |
Object.watch |
Registers a callback function to be invoked when a specified property of an ActionScript object changes. |
Property summary for the Object object
| Property |
Description |
Object.__proto__ |
A reference to the prototype property of the object's constructor function. |
Constructor for the Object object
Availability
Flash Player 5.
Usage
new Object([ value ] )
Parameters
value A number, Boolean value, or string to be converted to an object. This parameter is optional. If you do not specify value , the constructor creates a new object with no defined properties.
Description
Constructor; creates a new Object object.
|