Global Functions
41
Executes the script in the called frame without moving the playhead to that frame. Local
variables do not exist after the script executes.
■
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 interpreted as Timeline variables.
Availability:
ActionScript 1.0; Flash Lite 1.0
Parameters
frame
:
Object
- The label or number of a frame in the Timeline.
See also
function statement
,
call (Function.call method)
chr function
chr(
number
) : String
Deprecated
since Flash Player 5. This function was deprecated in favor of
String.fromCharCode()
.
Converts ASCII code numbers to characters.
Availability:
ActionScript 1.0; Flash Lite 1.0
Parameters
number
:
Number
- An ASCII code number.
Returns
String
- The character value of the specified ASCII code.
Example
The following example converts the number 65 to the letter A and assigns it to the variable
myVar
:
myVar = chr(65);
See also
fromCharCode (String.fromCharCode method)
Summary of Contents for FLASHLITE2 ACTIONSCRIPT-LANGUAGE
Page 1: ...Flash Lite 2 x ActionScript Language Reference...
Page 22: ...22 Contents...
Page 244: ...244 ActionScript language elements...
Page 760: ...760 ActionScript classes...