Flash Player 7
Flash MX 2004.
controlVR.moveLeft()
None.
Returns nothing.
Moves the object to the left.
The first example willl be placed on a button and will move the object one image to the left per click:
on(press){
vr_mc.moveLeft()
}
The second example will also be placed on a button. If the user clicks and holds the button the object will continue to move leftwards until the user releases the button.
on(press){
var moveID = setInterval(vr_mc , "moveLeft",50)
}
on(release){
clearInterval(moveID);
}
on(releaseOutside){
clearInterval(moveID);
}
controlVR.moveRight(),controlVR.moveUp(),controlVR.moveDown()