Sliding menu

Hi

I’ve looked up a tutorial about sliding menu: http://www.kirupa.com/developer/flash5/slidingmenu.htm

How to make a slider with two arrows, one pointing to the left and other one to the right side, using Action Script that would do the same as the little buttons in the tutorial. I don’t know how to tell the same object to move again and again on one side. I suppose that “for statement” will be required, but I don’t know how to write it.

Please help!