PDA

View Full Version : TextArea focus indicator problem


vladibo
09-18-2007, 09:36 PM
How can I hide a focus indicator of a text area?

And also how can I hide the border of the textarea?

vladibo
09-18-2007, 09:49 PM
This is the only solution I've found by now:

textArea.addEventListener("focusIn", function(evt:Object){ evt.target.parent.drawFocus(false); });

vladibo
09-19-2007, 03:10 PM
Any ideas of how to hide the TextArea border for AS3?

vladibo
10-02-2007, 06:13 PM
Any ideas of how to hide the TextArea border for AS3?
Well as usual if nobody wants to help me I'd have to help myself again. And here is the solution:
http://blog.bodurov.com/Post.aspx?postID=14

cesig
10-02-2007, 07:34 PM
You should be able to do this as well:
myTextArea.setStyle("focusRectSkin", Sprite);

This tells the TextArea to instantiate a new copy of a Sprite to use as the skin. And since a new instance of a Sprite is blank, nothing shows up.