External text file or xml to control width of an object in flash?

Hi All,

I wish to have a simple bar graphic in an swf where the width of the bar is determined by a value within an external document ie text file.

ie, the value 100 would be the graphic at its full width, 10 would be 10% of the full width of the graphic.

Any Help here would be much appreciated.

Thanks Dan