controlVR.height

Availability

Flash Player 7

Edition

Flash MX 2004.

Usage

controlVR.height

Description

This is a read only property, the height property will return the height of the current VRobject. The _height of the movie class should not be used to determine the height of the object because it can be inaccurate at times. The height of the object will always be exactly the same as that of the current active image.

Example

The following example you will have to give your controlVR instance a name vr_mc and place the following code in the main timeline. The following code will trace all the variables of the new object.


vr_mc.onComplete = function (){

	trace("The Object width :" + vr_mc.width);

	trace("The Object height :" + vr_mc.height);

	trace("The Object images per layer :" + vr_mc.imageXCount);

	trace("The Object Layer Count :" + vr_mc.imageYCount);

	trace("The Object total Images :" + vr_mc.imageCount);

	trace("The Object title :" + vr_mc.title);

}