// добавить в класс public function getText():String { return box_label.text; } // применение function regComplite(event:MouseEvent):void{ trace(box1.getText()); }