De-I > _height
_heightSyntax
instancename
._height
instancename
._height =
value
;
Arguments
instancename
An instance name of a movie clip for which the _height
property is to be set or retrieved.
value
An integer specifying the height of the movie in pixels.
Description
Property; sets and retrieves the height of the space occupied by a movie's content. In previous versions of Flash, _height
and _width
were read-only properties; in Flash 5 these properties can be set.
Player
Flash 4 or later.
Example
The following code example sets the height and width of a movie clip when the user clicks the mouse:
onClipEvent(mouseDown) {
_width=200;
_height=200;
}