EasyManua.ls Logo

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE - Chr Function; Clearinterval Function

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
1378 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...
50 ActionScript language elements
chr function
chr(number: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 Player 4
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)
clearInterval function
clearInterval(intervalID:Number) : Void
Stops the setInterval() call.
Availability: ActionScript 1.0; Flash Player 6
Parameters
intervalID:Number - A numeric (integer) identifier returned from a call to setInterval().
Example
The following example first sets and then clears an interval call:
function callback() {
trace("interval called: "+getTimer()+" ms.");
}
var intervalID:Number = setInterval(callback, 1000);

Table of Contents

Related product manuals