Chr Function - MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE Reference

Flash lite 2.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

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 (
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
- The label or number of a frame in the Timeline.
frame:Object
See also
function statement

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
- An ASCII code number.
number:Number
Returns
- The character value of the specified ASCII code.
String
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)
,
call (Function.call method)
.
) but the action list was executed with a
{}
Global Functions
41

Advertisement

Table of Contents
loading

Table of Contents