MovieClip._width

Availability

Flash Player 4 as a read-only property.

Usage

my_mc._width

Description

Property; the width of the movie clip, in pixels.

Example

The following example sets the height and width properties of a movie clip when the user clicks the mouse.

onclipEvent(mouseDown) {
  _width=200;
  _height=200;
}

See also

MovieClip._height