var Name_txt:TextInput = this.createClassObject(TextInput, "Name", 0); Name_txt.onRollOver = function():Void { this._x = 50; }