446
ActionScript classes
lineStyle
(thickness:
Number
,
rgb:
Number
, alpha:
Number
,
pixelHinting:
Boolean
,
noScale:
String
, capsStyle:
String
,
jointStyle:
String
,
miterLimit:
Number
) :
Void
Specifies a line style that Flash uses
for subsequent calls to
lineTo()
and
curveTo()
until you call
lineStyle()
with different parameters.
lineTo
(x:
Number
, y:
Number
) :
Void
Draws a line using the current line style
from the current drawing position to (
x
,
y
); the current drawing position is then
set to (
x
,
y
).
loadMovie
(url:
String
,
[method:
String
]) :
Void
Loads SWF or JPEG files into a movie
clip in Flash Player while the original
SWF file is playing.
loadVariables
(url:
String
,
[method:
String
]) :
Void
Reads data from an external file and
sets the values for variables in the
movie clip.
localToGlobal
(pt:
Object
) :
Void
Converts the
pt
object from the movie
clip's (local) coordinates to the Stage
(global) coordinates.
moveTo
(x:
Number
, y:
Number
) :
Void
Moves the current drawing position to
(
x
,
y
).
nextFrame
() :
Void
Sends the playhead to the next frame
and stops it.
play
() :
Void
Moves the playhead in the Timeline of
the movie clip.
prevFrame
() :
Void
Sends the playhead to the previous
frame and stops it.
removeMovieClip
() :
Void
Removes a movie clip instance
created with
duplicateMovieClip()
,
MovieClip.duplicateMovieClip()
,
MovieClip.createEmptyMovieClip(
)
, or
MovieClip.attachMovie()
.
setMask
(mc:
Object
) :
Void
Makes the movie clip in the parameter
mc
a mask that reveals the calling
movie clip.
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...