444
ActionScript classes
Method summary
Modifiers
Signature
Description
attachMovie
(id:
String
, name:
String
,
depth:
Number
, [initObject:
Object
])
:
MovieClip
Takes a symbol from the library and
attaches it to the movie clip.
beginFill
(rgb:
Number
,
[alpha:
Number
]) :
Void
Indicates the beginning of a new
drawing path.
beginGradientFill
(fillType:
String
,
colors:
Array
, alphas:
Array
,
ratios:
Array
, matrix:
Object
) :
Void
Indicates the beginning of a new
drawing path.
clear
() :
Void
Removes all the graphics created
during runtime by using the movie clip
draw methods, including line styles
specified with
MovieClip.lineStyle()
.
createEmptyMovieClip
(name:
String
,
depth:
Number
) :
MovieClip
Creates an empty movie clip as a child
of an existing movie clip.
createTextField
(instanceName:
String
, depth:
Number
, x:
Number
, y:
Number
,
width:
Number
, height:
Number
) :
TextField
Creates a new, empty text field as a
child of the movie clip on which you
call this method.
curveTo
(controlX:
Number
,
controlY:
Number
, anchorX:
Number
,
anchorY:
Number
) :
Void
Draws a curve using the current line
style from the current drawing position
to (
anchorX
,
anchorY
) using the
control point that (
(controlX
,
controlY
) specifies.
duplicateMovieClip
(name:
String
,
depth:
Number
, [initObject:
Object
])
:
MovieClip
Creates an instance of the specified
movie clip while the SWF file is
playing.
endFill
() :
Void
Applies a fill to the lines and curves
added since the last call to
beginFill()
or
beginGradientFill()
.
getBounds
(bounds:
Object
) :
Object
Returns properties that are the
minimum and maximum
x
and
y
coordinate values of the movie clip,
based on the
bounds
parameter.
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...