private var txtField:Textfield;
...
this.txtField = this.getChildByName("txtField");
this.txtField.mouseEnabled = false;
this.txtField.tabEnabled = false;and to turn it enable again:
this.txtField.mouseEnabled = true;
this.txtField.tabEnabled = true;You could also do this
//disable input
myTextField.selectable = false;
myTextField.type = TextFieldType.DYNAMIC;
//enable input
myTextField.selectable = true;
myTextField.type = TextFieldType.INPUT;
While this sound cheap coz you have to disable the mouse and the tab of that component and not the component itself, it seems to be the only solution. Thanks Adobe!!!!!!!!
2 comments: