I mergered your two threads. Please keep everything pertaining to your question in the same thread...

As to your problem I imagine it's this line
Code:
txt1.text = this.txt1.text;
The scope of txt1 would be the same as this.txt1 I guessing that's not what you intend here. I imagine you have a txt1 on the root timeline so you want to refer to it via _root.txt1 or _parent.txt1