34
ActionScript language elements
int
(value:
Number
) :
Number
Deprecated
since Flash Player 5.
This function was deprecated in
favor of
Math.round()
.
Converts a decimal number to an
integer value by truncating the
decimal value.
isFinite
(expression:
Object
) :
Boolean
Evaluates
expression
and returns
true
if it is a finite number or
false
if it is infinity or negative infinity.
isNaN
(expression:
Object
) :
Boolean
Evaluates the parameter and returns
true
if the value is
NaN
(not a
number).
length
(expression:
String
,
variable:
Object
) :
Number
Deprecated
since Flash Player 5.
This function, along with all the
string functions, has been
deprecated. Macromedia
recommends that you use the
methods of the String class and the
String.length
property to perform
the same operations.
Returns the length of the specified
string or variable.
loadMovie
(url:
String
, target:
Object
,
[method:
String
])
Loads a SWF or JPEG file into
Flash Player while the original SWF
file plays.
loadMovieNum
(url:
String
,
level:
Number
, [method:
String
])
Loads a SWF or JPEG file into a
level in Flash Player while the
originally loaded SWF file plays.
loadVariables
(url:
String
,
target:
Object
, [method:
String
])
Reads data from an external file,
such as a text file or text generated
by ColdFusion, a CGI script, Active
Server Pages (ASP), PHP, or Perl
script, and sets the values for
variables in a target movie clip.
loadVariablesNum
(url:
String
,
level:
Number
, [method:
String
])
Reads data from an external file,
such as a text file or text generated
by a ColdFusion, CGI script, ASP,
PHP, or Perl script, and sets the
values for variables in a Flash Player
level.
Modifiers
Signature
Description
Содержание Flash Lite 2
Страница 1: ...Flash Lite 2 x ActionScript Language Reference...
Страница 22: ...22 Contents...
Страница 244: ...244 ActionScript language elements...
Страница 760: ...760 ActionScript classes...