I’ve used something like…
this.createClassObject(mx.controls.TextArea, "tA"+ntA, ntA);
… to attach a TextArea component to the stage. Now I want to remove it with a button onRelease event, something like…
btnRemove_btn.onRelease = function(){
// this._parent["tA"+ntA].removeClassObject(); ???
}
…which obviously doesn’t work. Perhaps the answer is in the manual, but I tried and tried and just couldn’t understand. Could someone please explain how to do this?
Also,while I know how to embed fonts inside a textInput field, I’m really stumped about how to do it with a TextArea component that’s been created like the one above. Do I have to use a stylesheet?
~Fingers~