User Guide

Table Of Contents
12 Flash Lite Global Functions
Example
The following examples execute the script in the myScript frame:
// to execute functions in frame with label "myScript"
thisFrame = "myScript";
trace ("Calling the script in frame: " add thisFrame);
// to execute functions in any other frame on the same timeline
call("myScript");
chr()
Availability
Flash Lite 1.0.
Usage
chr(number)
Operands
number An ASCII code number.
Description
String function; converts ASCII code numbers to characters.
Example
The following example converts the number 65 to the letter A and assigns it to the
variable
myVar:
myVar = chr(65);
trace (myVar);// Output: A
duplicateMovieClip()
Availability
Flash Lite 1.0.
Usage
duplicateMovieClip(target, newname, depth)