Flash Player 7
Flash MX 2004.
controlVR.loadVR(url:String)
url The url to the controlVR XML file.
Returns nothing.
Passing the url of a controlVR xml file to the loadVR method will load a completely new VRobject into the component.
Passing a blank url to the loadVR method will completely remove the current VRobject.
Note: If using relative paths
If the .swf file is loaded by an .html file the path of the xml should be relative to the .html. If you only make use of a .swf file the path should be relative to the .swf.

The first example willl be placed on a button and load a complete VRojbect from the designated XML url:
on(press){
vr_mc.loadVR("http://www.mysite.com/objects/name.xml")
}
The second example willl completely remove a VRobject:
on(press){
vr_mc.loadVR()
}