T-W > var

var

Syntax

var variableName1 [= value1] [...,variableNameN [=valueN]];

Arguments

variableName The name of the variable to declare.

value The value being assigned to the variable.

Description

Action; used to declare local variables. If you declare local variables inside a function, the variables are defined for the function and expire at the end of the function call. If variables are not declared inside a block, but the action list was executed with a call action, the variables are local and expire at the end of the current list. If variables are not declared inside a block and the current action list was not executed with the call action, the variables are not local.

Player

Flash 5 or later.