Passing an Array from XML to Flash

Hi,

I’m having difficulties transfering the content of a future array from XML to Flash.
My goal is to be able to set variables in an XML file that will then be used in Flash.
For that purpose, I’ve started to set my xml like that and it’s running ok.


<xml>
    <bgGradientColor1>0xd1d1d1</bgGradientColor1>
    <bgGradientColor2>0xf2f2f2</bgGradientColor2>
</xml>

But I don’t understand how to set my xml to be able to (maybe) create a loop to generate an array variable like this : <br>
public var linkFilesArray=new Array(“ABOUT”,“EVENTS”, …);

Could you teach me how to code the XML the right way and regenerate this arrya in flash then ?

Than you!