A-C > add

 

add

Availability

Flash Player 4.

Usage

string1 add string2

Parameters

string1, string2 A string.

Returns

Nothing.

Description

Operator; concatenates (combines) two or more strings. The add operator replaces the Flash 4 add (&) operator; Flash 4 files using the & operator are automatically converted to use the add operator for string concatenation when brought into the Flash 5 authoring environment. However, the add operator is deprecated in Flash 5, and use of the + operator is recommended when creating content for Flash Player 5 or Flash Player 6. Use the add operator to concatenate strings if you are creating content for Flash 4 or earlier versions of the Player.

See also

+ (addition)