ActionScript for Flash MX: The Definitive Guide, Second Edition

ActionScript for Flash MX: The Definitive Guide, 2nd EditionBy Colin Moock
Chapter 18.  ActionScript Language Reference
delete Operator Flash 5

delete the contents of a variable, property, or array element

delete identifier

Operand

identifier

The identifier to be deleted.

Returns

The Boolean true if the identifier was deleted, false if not (because the identifier doesn't exist or its value cannot be deleted).

Description

The delete operator removes an object, an object property, an array element, or variable from a script.

See Also

"The delete Operator," in Chapter 5

    Категории