03.05.2013 Views

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - 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 />

beginGradientFill(fi Indicates the beginning of a new drawing path.<br />

llType:String,<br />

colors:Array,<br />

alphas:Array,<br />

ratios:Array,<br />

matrix:Object) :<br />

Void<br />

clear() : Void Removes all the graphics created during runtime<br />

by using the movie clip draw methods, including<br />

line styles specified with MovieClip.lineStyle().<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, controlY)<br />

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 added since<br />

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

getBounds(bounds:Obj<br />

ect) : Object<br />

getBytesLoaded() :<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 />

MovieClip 405

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

Saved successfully!

Ooh no, something went wrong!