按钮绑定语句on (release) { if (bb == "123") { gotoAndPlay(2); } else { aa = "你输入有错误" } }还要注意:输入文字 属性中不要勾选“自动调整字距”