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

**URL:** <https://forum.kirupa.com/t/external-text-file-or-xml-to-control-width-of-an-object-in-flash/48654>\
**Category:** flash\
**Created:** [April 15, 2004, 3:55pm UTC](https://forum.kirupa.com/t/external-text-file-or-xml-to-control-width-of-an-object-in-flash/48654 "2004-04-15T15:55:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel](https://avatars.discourse-cdn.com/v4/letter/d/3ec8ea/32.png) [@Daniel](https://forum.kirupa.com/u/Daniel)\
**Post date:** [April 15, 2004, 3:55pm UTC](https://forum.kirupa.com/t/external-text-file-or-xml-to-control-width-of-an-object-in-flash/48654/1 "2004-04-15T15:55:29Z")

</div>

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
