Chr Function - MACROMEDIA FLASHLITE2 ACTIONSCRIPT-LANGUAGE Reference

Actionscript language reference
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
Need help?

Need help?

Do you have a question about the FLASHLITE2 ACTIONSCRIPT-LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash lite 2

Table of Contents