# Dynamic text field

**URL:** <https://forum.kirupa.com/t/dynamic-text-field/264982>\
**Category:** Uncategorized\
**Created:** [July 2, 2008, 6:45pm UTC](https://forum.kirupa.com/t/dynamic-text-field/264982 "2008-07-02T18:45:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RebuiltJorge](https://avatars.discourse-cdn.com/v4/letter/r/94ad74/32.png) [@RebuiltJorge](https://forum.kirupa.com/u/RebuiltJorge)\
**Post date:** [July 2, 2008, 6:45pm UTC](https://forum.kirupa.com/t/dynamic-text-field/264982/1 "2008-07-02T18:45:01Z")

</div>

ok i have a dynamic text field that gets its content from an xml file, the content is pretty random in width, also the text field will be placed inside a graphic made in flash, i need this graphic to contract and expand according to the width of the content, any ideas, thanks

---

<div class="post-metadata">

**Author:** ![Alex\_Lexcuk](https://avatars.discourse-cdn.com/v4/letter/a/919ad9/32.png) [@Alex\_Lexcuk](https://forum.kirupa.com/u/Alex_Lexcuk)\
**Post date:** [July 2, 2008, 7:03pm UTC](https://forum.kirupa.com/t/dynamic-text-field/264982/2 "2008-07-02T19:03:36Z")

</div>

\>\> text field will be placed inside a graphic made in flash  
it’s in a complicated way, not exact image conceived  
[http://dnadillo.dn.ua/fla/XML/img-xml.swf](http://dnadillo.dn.ua/fla/XML/img-xml.swf)  
look xml file  
[http://dnadillo.dn.ua/fla/XML/mur\_xml\_file\_img.xml](http://dnadillo.dn.ua/fla/XML/mur_xml_file_img.xml)

```auto

[COLOR=#0000ff]<[/COLOR][COLOR=#990000]img[/COLOR] [COLOR=#990000]src[/COLOR][COLOR=#0000ff]="[/COLOR] **http://dnadillo.dn.ua/images/imag/magna_carta_131.JPG** [COLOR=#0000ff]"[/COLOR][COLOR=#990000] width[/COLOR][COLOR=#0000ff]="[/COLOR] **400** [COLOR=#0000ff]"[/COLOR][COLOR=#990000] height[/COLOR][COLOR=#0000ff]="[/COLOR] **270** [COLOR=#0000ff]"[/COLOR][COLOR=#990000] hspace[/COLOR][COLOR=#0000ff]="[/COLOR] **100** [COLOR=#0000ff]"[/COLOR][COLOR=#990000] vspace[/COLOR][COLOR=#0000ff]="[/COLOR] **10** [COLOR=#0000ff]" />[/COLOR] 

```

[SIZE=2]but img x and y I am [SIZE=2]  
incomprehensibly  
[COLOR=#990000]hspace it’s [SIZE=2]distance before text  
[/SIZE][/COLOR][COLOR=#0000ff][/COLOR]  
[/SIZE][/SIZE]

---

<div class="post-metadata">

**Author:** ![RebuiltJorge](https://avatars.discourse-cdn.com/v4/letter/r/94ad74/32.png) [@RebuiltJorge](https://forum.kirupa.com/u/RebuiltJorge)\
**Post date:** [July 3, 2008, 3:45pm UTC](https://forum.kirupa.com/t/dynamic-text-field/264982/3 "2008-07-03T15:45:31Z")

</div>

thanks i will take a look
