Table of Contents

new Operator Flash 5

instantiate a new object
new constructor()

Operands

constructor

A class constructor function used to initialize the new object.

Returns

A reference to the newly created object.

Description

The new operator creates an instance of the class specified by constructor. For complete coverage of the role new plays in object-oriented programming, see Chapter 12.

See Also

Object._ _proto_ _; Section 5.12.2; Chapter 12


Table of Contents