How to change scroll direction with ActionScript
Date: Apr 20, 2007
Views: 2033
Question:
I am trying to change scroll direction and reset the component with a button. Can this be done?
Answer:
| andreit (Admin) |
Sure, what you need to do is reset scrollDirection variable and then call draw() method to reset the component. Here is the code: myLoop.scrollDirection = "right"; myLoop.draw(); |