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 Player 4 files that use the & operator are automatically converted to use the add operator for string concatenation when brought into the Flash 5 or later authoring environment. However, the add operator was deprecated in Flash Player 5, and Macromedia recommends that you use the + operator when creating content for Flash Player 5 or later. Use the add operator to concatenate strings if you are creating content for Flash Player 4 or earlier versions of the player.

See also

+ (addition)