Flash Player 7
Flash MX 2004.
vr_mc.onLoadProgress = function(percentage:Number) {
// your statements here
}
Invoked every time the loading content is written to the hard disk during the loading process.
Percentage The percentage that had been loaded when the listener was invoked
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.onLoadProgress = function (percentage){
trace(percentage);
}