View Full Version : TextArea focus indicator problem
vladibo
September 18th, 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
September 18th, 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
September 19th, 2007, 03:10 PM
Any ideas of how to hide the TextArea border for AS3?
vladibo
October 2nd, 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
October 2nd, 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.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.