376
Chapter 6: ActionScript Core Classes
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
Property summary for the Object class
Constructor for the Object class
Availability
Flash Player 5.
Usage
new Object([
value
])
: Object
Parameters
value
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
is optional.
Method
Description
Object.addProperty()
Creates a getter/setter property on an object.
Object.registerClass()
Associates a movie clip symbol with an ActionScript object class.
Object.toString()
Converts the specified object to a string and returns it.
Object.unwatch()
Removes the watchpoint that
Object.watch()
created.
Object.valueOf()
Returns the primitive value of an object.
Object.watch()
Registers an event handler to be invoked when a specified property of an
ActionScript object changes.
Property
Description
Object.__proto__
A reference to the
prototype
property of the object’s constructor
function.
Object.__resolve
A reference to a user-defined function that is called automatically if
ActionScript code refers to an undefined method or property.
Object.constructor
A reference to the object’s constructor function.
CHAPTER 6
ActionScript Core Classes
Содержание FLEX
Страница 1: ...Flex ActionScript Language Reference ...
Страница 8: ......
Страница 66: ...66 Chapter 2 Creating Custom Classes with ActionScript 2 0 ...
Страница 76: ......
Страница 133: ...break 133 See also for for in do while while switch case continue throw try catch finally ...
Страница 135: ...case 135 See also break default strict equality switch ...
Страница 146: ...146 Chapter 5 ActionScript Core Language Elements See also break continue while ...
Страница 229: ...while 229 i 3 The following result is written to the log file 0 3 6 9 12 15 18 See also do while continue for for in ...
Страница 808: ...808 Chapter 7 ActionScript for Flash ...
Страница 810: ...810 Appendix A Deprecated Flash 4 operators ...
Страница 815: ...Other keys 815 Num Lock 144 186 187 _ 189 191 192 219 220 221 222 Key Key code ...
Страница 816: ...816 Appendix B Keyboard Keys and Key Code Values ...
Страница 822: ...822 Index ...