Reading a local text file (or XML) to an array

Hey everybody,

I’m want to access either a txt-file or a xml-file containing some data for an array.

The txt(xml)-file will be local on the same position as the SWF. It’s for a word game that should be configurable easily through changing only the txt(xml)-file and it’ll not be used mainly online, therefore its important that it will read a local file.

How to take data from a txt(xml)-file and insert it into an array in Flash?

Thankful for help!