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