EasyManua.ls Logo

MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE - Chr(); Duplicatemovieclip()

MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE
162 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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)

Table of Contents

Related product manuals