AFComponents.com

How to change scroll direction with ActionScript
Date: Apr 20, 2007   Views: 4984  
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();


© 2005-2007 advanced flash components