# TextInput integer rename

**URL:** https://forum.kirupa.com/t/textinput-integer-rename/174203
**Category:** flash
**Created:** [January 3, 2006, 7:32pm UTC](https://forum.kirupa.com/t/textinput-integer-rename/174203 "2006-01-03T19:32:36Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Obamskie](https://avatars.discourse-cdn.com/v4/letter/o/5f9b8f/32.png) [@Obamskie](https://forum.kirupa.com/u/Obamskie)
#### Post date: [January 3, 2006, 7:32pm UTC](https://forum.kirupa.com/t/textinput-integer-rename/174203/1 "2006-01-03T19:32:36Z")

</div>

I’m stuck ☹

i’ve got a xml file wich i connected with the XMLconnector.  
but now i want to bind my TextInput to a integer in the xml file (1 / 0, true / false)

so if the value of the textinput = 1 the textinput.text should be converted to “in stock” and if the input = 0 the text should be converted to “out of stock”

Now my textinputs shows only “1” or “2”

(I used the Flash8 Components)

I hope someone understands me  
Tnx in advance
