Object Class - MACROMEDIA FLASH MX 2004-ACTIONSCRIPT LANGUAGE Reference

Actionscript language reference
Table of Contents

Advertisement

Object class

Availability
Flash Player 5 (became a native object in Flash Player 6, which improved
performance significantly).
Description
The Object class is at the root of the ActionScript class hierarchy. This class contains a small
subset of the features provided by the JavaScript Object class.
Method summary for the Object class
Method
Object.addProperty()
Object.registerClass()
Object.toString()
Object.unwatch()
Object.valueOf()
Object.watch()
Property summary for the Object class
Property
Object.__proto__
Object.__resolve
Object.constructor
Constructor for the Object class
Availability
Flash Player 5.
Usage
new Object([value]) : Object
Parameters
A number, Boolean value, or string to be converted to an object. If you do not specify
value
, the constructor creates a new object with no defined properties. This parameter
value
is optional.
660
Chapter 2: ActionScript Language Reference
ActionScript Language Reference
Description
Creates a getter/setter property on an object.
Associates a movie clip symbol with an ActionScript object class.
Converts the specified object to a string and returns it.
Removes the watchpoint that
Returns the primitive value of an object.
Registers an event handler to be invoked when a specified property of an
ActionScript object changes.
Description
A reference to the
prototype
function.
A reference to a user-defined function that is called automatically if
ActionScript code refers to an undefined method or property.
A reference to the object's constructor function.
created.
Object.watch()
property of the object's constructor
CHAPTER 2

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash mx

Table of Contents