Flash Player 7
Flash MX 2004.
controlVR.getActiveImage()
None
Returns an integer of the current image displayed in controlVR.
Get the number of the current displayed image in controlVR. The images are numbered in the order which they were placed in the .XML file, therefore the first images will be 1 and so forth.
The following example willl stop the auto rotation when the active image reaches 11:
onEnterFrame = function(){
if(vr_mc.getActiveImage() == 11){
vr_mc.spinStop()
}
}