Movieclip - MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE Reference

Flash lite 2.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

stopDrawing_button.enabled = true;
};
startDrawing_button.addEventListener("click", startDrawingListener);

MovieClip

Object
|
+-MovieClip
public dynamic class MovieClip
extends
Object
The methods for the MovieClip class provide the same functionality as actions that target
movie clips. Some additional methods do not have equivalent actions in the Actions toolbox
in the Actions panel.
You do not use a constructor method to create a new movie clip. You can choose from among
three methods to create new movie clip instances:
The
attachMovie()
movie clip symbol that exists in the library.
The
createEmptyMovieClip()
instance as a child based on another movie clip.
The
duplicateMovieClip()
another movie clip.
To call the methods of the MovieClip class you reference movie clip instances by name, using
the following syntax, where
my_mc.play();
my_mc.gotoAndPlay(3);
You can extend the methods and event handlers of the MovieClip class by creating a subclass.
Availability: ActionScript 1.0; Flash Lite 2.0
method allows you to create a new movie clip instance based on a
method allows you to create a new, empty movie clip
method allows you to create a movie clip instance based on
is a movie clip instance:
my_mc
MovieClip
439

Advertisement

Table of Contents
loading

Table of Contents