Skip to main content
Walloompoom
Inspiring
October 27, 2006
Question

Stop Scrolling for pete's sake

  • October 27, 2006
  • 3 replies
  • 589 views
I'm half way there. The code below works great but how do you get it to stop scrolling? I mean, whats the best way? An onRelease function right? but what should the function be? Or should I add an onRelease to the below code? I dont know.


This topic has been closed for replies.

3 replies

kglad
Community Expert
Community Expert
October 27, 2006
you're welcome.
Walloompoom
Inspiring
October 27, 2006
Ahh, getting rid of "delete arrowLeftMc.onPress;" fixed it.

Now, How do I get it to scroll only so far left and right? How do I limit it?
kglad
Community Expert
Community Expert
October 27, 2006
use a conditional statement within arrowLeft(). for example
Walloompoom
Inspiring
October 27, 2006
Hmmmm, trying it but cant get it right


kglad
Community Expert
Community Expert
October 27, 2006
execute a delete this.onEnterFrame when you want the scrolling to stop.
Walloompoom
Inspiring
October 27, 2006
I added an onRelease function to delete onEnterFrame but it disabled the onPress. You can only press scroll release once. Then pressing does nothing