Ok, thanks! I am now trying to change dynamic textfields to variables, which is seeming to work, but i am stuck.. how do I change replaceText to work with variables. Like:

someField_txt.replaceText(targetString.indexOf("{" ) , targetString.indexOf("}")+1, newString)

doesnt like the "replaceText"