TextInput integer rename

I’m stuck :frowning:

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