A friend game me this as2 script. When you move youre mouse up and down over a block it makes the animation play backwards and forwards. Could someone help me make it so you have to click the block and hold down the mouse button. And after you click on the box it doesnt matter where the mouse is on the screen, You can move the mouse up and down a couple inches anywhere to activate the script.
stop();
BAR.onMouseMove = function() {
gotoAndStop(Math.floor(_root.block._ymouse*(_root._totalframes)/(_root.block._height)));
updateAfterEvent();
}
Thanks