36
ActionScript language elements
ord
(character:
String
) :
Number
Deprecated
since Flash Player 5.
This function was deprecated in
favor of the methods and properties
of the String class.
Converts characters to ASCII code
numbers.
parseFloat
(string:
String
) :
Number
Converts a string to a floating-point
number.
parseInt
(expression:
String
,
[radix:
Number
]) :
Number
Converts a string to an integer.
play
()
Moves the playhead forward in the
Timeline.
prevFrame
()
Sends the playhead to the previous
frame.
prevScene
()
Sends the playhead to Frame 1 of
the previous scene.
random
(value:
Number
) :
Number
Deprecated
since Flash Player 5.
This function was deprecated in
favor of
Math.random()
.
Returns a random integer between
0 and one less than the integer
specified in the
value
parameter.
removeMovieClip
(target:
Object
)
Deletes the specified movie clip.
setInterval
(functionName:
Object
,
interval:
Number
, [param:
Object
],
objectName:
Object
, methodName:
String
)
:
Number
Calls a function or a method or an
object at periodic intervals while a
SWF file plays.
setProperty
(target:
Object
,
property:
Object
, expression:
Object
)
Changes a property value of a movie
clip as the movie clip plays.
startDrag
(target:
Object
,
[lock:
Boolean
],
[left,top,right,bottom:
Number
])
Makes the
target
movie clip
draggable while the movie plays.
stop
()
Stops the SWF file that is currently
playing.
stopAllSounds
()
Stops all sounds currently playing in
a SWF file without stopping the
playhead.
Modifiers
Signature
Description
Summary of Contents for FLASHLITE2 ACTIONSCRIPT-LANGUAGE
Page 1: ...Flash Lite 2 x ActionScript Language Reference...
Page 22: ...22 Contents...
Page 244: ...244 ActionScript language elements...
Page 760: ...760 ActionScript classes...