Delay Based Movement

Hi,

Heres the deal. Im making a news scroller that loads in news from a php file and creates a textbox for however many headlines I have. So when you enter the frame it creates the boxes and then will display one at a time, wait 5 secs, and then move up ~20px and the next one will move up also and then repeat.

basically my problem is that I dont know how to make it delay, I can make it move and import the variables and everything but I cant make it delay.

Im also having a problem with it recieving hte number of records. I recieve the variable but its a string and not and Integer so it wont calculate, but for right now im just setting num=5 (num being the number of text boxes it’s supposed to make from teh records) so if you can help me with that also, it would be appreciated.

Thanks