User Guide

824 ActionScript classes
globalToLocal(pt:Obj
ect) : Void
Converts the pt object from Stage (global)
coordinates to the movie clip's (local) coordinates.
gotoAndPlay(frame:Ob
ject) : Void
Starts playing the SWF file at the specified frame.
gotoAndStop(frame:Ob
ject) : Void
Brings the playhead to the specified frame of the
movie clip and stops it there.
hitTest() : Boolean Evaluates the movie clip to see if it overlaps or
intersects with the hit area that the target or x and y
coordinate parameters identify.
lineGradientStyle(fi
llType:String,
colors:Array,
alphas:Array,
ratios:Array,
matrix:Object,
[spreadMethod:String
],
[interpolationMethod
:String],
[focalPointRatio:Num
ber]) : Void
Specifies a line style that Flash uses for subsequent
calls to the lineTo() and curveTo() methods until
you call the lineStyle() method or the
lineGradientStyle() method with different
parameters.
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 the lineTo() and curveTo() methods until
you call the lineStyle() method 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 a SWF, JPEG, GIF, or PNG file into a movie
clip in Flash Player while the original SWF file is
playing.
loadVariables(url:St
ring,
[method:String]) :
Void
Reads data from an external file and sets the values
for variables in the movie clip.
Modifiers Signature Description