Showing elements from a XML list 5 by 5?

Hi everyone,

I have a for loop which is grabbing data from a xml file and showing it to the user… my problem is that I want to show 5 for let’s say… 30 seconds… and then making a transition and show another 5 elements.

I can make the condition like:


if(info.length() >= 5){
    for (var i:int = 0; i < 5; i++)
    {

and I show the first 5. But what now? How do I hide those and show the next five?

Any ideas?

Thanks in advance.