Flash Player 7
Flash MX 2004.
controlVR.zoomOut()
None.
Returns nothing.
Calling the zoomOut method will decrease the object size by 10 percent.
Note: Nothing will happen once the object has reached 50 percent.
The first example willl be placed on a button and will zoom the object out :
on(release){
vr_mc.zoomOut()
}
The second example will also be placed on a button. If the user clicks and holds the button the object will continue to zoom outwards until the user releases the button or until it reaches it's lowest zoom percentage.
on(press){
var zoomID = setInterval(vr_mc , "zoomOut",50)
}
on(release){
clearInterval(zoomID);
}
on(releaseOutside){
clearInterval(zoomID);
}