Flashvars Array

Hi,

Having a little trouble counting through individual parts of an array in AS2…

I can set and split the Flashvars:

var headerImages = _level0.headerImages;
headerImagesArray = _root.headerImages.split(’,’);

But could anyone provide guidance in how to cycle through and use each part of the array? Through a function maybe?

Cheers