03.05.2013 Views

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

ActionScript 2.0 Language Reference - Adobe Help and Support

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Modifiers Signature Description<br />

834 <strong>ActionScript</strong> classes<br />

createEmptyMovieClip<br />

(name:String,<br />

depth:Number) :<br />

MovieClip<br />

createTextField(inst<br />

anceName:String,<br />

depth:Number,<br />

x:Number, y:Number,<br />

width:Number,<br />

height:Number) :<br />

TextField<br />

curveTo(controlX:Num<br />

ber,<br />

controlY:Number,<br />

anchorX:Number,<br />

anchorY:Number) :<br />

Void<br />

duplicateMovieClip(n<br />

ame:String,<br />

depth:Number,<br />

[initObject:Object])<br />

: MovieClip<br />

Creates an empty movie clip as a child of an<br />

existing movie clip.<br />

Creates a new, empty text field as a child of the<br />

movie clip on which you call this method.<br />

Draws a curve using the current line style from the<br />

current drawing position to (anchorX, anchorY)<br />

using the control point that ((controlX,<br />

controlY) specifies.<br />

Creates an instance of the specified movie clip<br />

while the SWF file is playing.<br />

endFill() : Void Applies a fill to the lines <strong>and</strong> curves that were since<br />

the last call to beginFill() or<br />

beginGradientFill().<br />

getBounds(bounds:Obj<br />

ect) : Object<br />

getBytesLoaded() :<br />

Number<br />

getBytesTotal() :<br />

Number<br />

Returns properties that are the minimum <strong>and</strong><br />

maximum x <strong>and</strong> y coordinate values of the movie<br />

clip, based on the bounds parameter.<br />

Returns the number of bytes that have already<br />

loaded (streamed) for the movie clip.<br />

Returns the size, in bytes, of the movie clip.<br />

getDepth() : Number Returns the depth of the movie clip instance.<br />

getInstanceAtDepth(d<br />

epth:Number) :<br />

MovieClip<br />

Determines if a particular depth is already<br />

occupied by a movie clip.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!