Help with creating buttons with actionscript

Hi there,

What i need to do is;

  1. Bring in a list from a text file
  2. On each list item turn them into a button
  3. add functions to the button, such as on(release) changing an image from the loader component.

It needs to be dynamic, so if i change the text file, the buttons change in the flash file.

Is this possible or is there some kinda work around which i can do?

thanks
Mattzi