/ Published in: ActionScript
URL: http://www.actionscript.org/forums/showthread.php3?t=179427
Code for allowing users to hold the mouse button down on a movie clip (button) for a constant effect.
Expand |
Embed | Plain Text
myButton.onPress = function() { this.ButtonDown = true } myButton.onRelease = myButton.onDragOut = function() { this.ButtonDown = false } myButton.onEnterFrame = function() { if(this.ButtonDown) { //Move Carousel } }
You need to login to post a comment.
