M > MovieClip.clear

 

MovieClip.clear

Availability

Flash Player 6.

Usage

myMovieClip.clear()

Parameters

None.

Returns

Nothing.

Description

Method; removes all the drawing commands associated with a movie clip. Shapes and lines that are drawn with the Flash drawing tools are unaffected. Calling the clear method also removes the current line style.

See also

MovieClip.lineStyle