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.

■ The attachMovie() method allows you to create a new movie clip instance based on a<br />

movie clip symbol that exists in the library.<br />

■ The createEmptyMovieClip() method allows you to create a new, empty movie clip<br />

instance as a child based on another movie clip.<br />

■ The duplicateMovieClip() method allows you to create a movie clip instance based on<br />

another movie clip.<br />

To call the methods of the MovieClip class you reference movie clip instances by name, using<br />

the following syntax, where my_mc is a movie clip instance:<br />

my_mc.play();<br />

my_mc.gotoAndPlay(3);<br />

You can extend the methods <strong>and</strong> event h<strong>and</strong>lers of the MovieClip class by creating a subclass.<br />

Property summary<br />

Modifiers Property Description<br />

_alpha:Number The alpha transparency value of the movie clip.<br />

_currentframe:Number<br />

[read-only]<br />

_droptarget:String<br />

[read-only]<br />

Returns the number of the frame in which the<br />

playhead is located in the movie clip's Timeline.<br />

Returns the absolute path in slash-syntax notation<br />

of the movie clip instance on which this movie clip<br />

was dropped.<br />

enabled:Boolean A Boolean value that indicates whether a movie<br />

clip is enabled.<br />

focusEnabled:Boolean If the value is undefined or false, a movie clip<br />

cannot receive input focus unless it is a button.<br />

_focusrect:Boolean A Boolean value that specifies whether a movie<br />

clip has a yellow rectangle around it when it has<br />

input focus.<br />

_framesloaded:Number<br />

[read-only]<br />

The number of frames that are loaded from a<br />

streaming SWF file.<br />

_height:Number The height of the movie clip, in pixels.<br />

_highquality:Number Deprecated since Flash Player 7. This property<br />

was deprecated in favor of MovieClip._quality.<br />

Specifies the level of anti-aliasing applied to the<br />

current SWF file.<br />

hitArea:Object Designates another movie clip to serve as the hit<br />

area for a movie clip.<br />

MovieClip 401

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

Saved successfully!

Ooh no, something went wrong!