btn1.onRelease = function(){ str.text+="T"; } btn2.onRelease = function(){ str.text+="E"; } btn3.onRelease = function(){ str.text+="x"; } //И так далее...