Download Flash Lite 2.x and 3.x ActionScript Language Reference
Transcript
FLASH LITE 2.X AND 3.X ACTIONSCRIPT LANGUAGE REFERENCE
ActionScript language elements
If files are published for Flash Player 6 and earlier, the results differ for three of the preceding examples:
trace(Boolean("true")); // output: false
trace(Boolean("false")); // output: false
trace(Boolean("Craiggers")); // output: false
This example shows a significant difference between use of the Boolean() function and the Boolean class. The
Boolean() function creates a Boolean value, and the Boolean class creates a Boolean object. Boolean values are
compared by value, and Boolean objects are compared by reference.
// Variables representing Boolean values are compared by value
var a:Boolean = Boolean("a"); // a is true
var b:Boolean = Boolean(1); // b is true
trace(a==b); // true
// Variables representing Boolean objects are compared by reference
var a:Boolean = new Boolean("a"); // a is true
var b:Boolean = new Boolean(1); // b is true
trace(a == b); // false
See also
Boolean
call function
call(frame)
Deprecated since Flash Player 5. This action was deprecated in favor of the function statement.
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 ({}) but the action list was executed with a 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
Flash Lite 1.0
Parameters
frame:Object - The label or number of a frame in the Timeline.
See also
Array function, call (Function.call method)
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.
Last updated 12/20/2010
14
Related documents
Developing Adobe® Flash® Lite™ 2.x and 3.x Applications
macromedia® - dadanini.at
Using Components
User Manual 270-418-01 System Monitor Board
KoolMoves User Guide
MACROMEDIA FLASH COMMUNICATION SERVER MX-SERVER-SIDE COMMUNICATION ACTIONSCRIPT DICTIONARY Specifications
3D Book User Manual - Boutique Décor Chaleur
Adobe 8 Saw User Manual
BOLEX S-221 Technical information
Adobe® Flash® Lite™ 1.x Adobe® ActionScript® Language