# Remove border from TextArea component?!?

**URL:** <https://forum.kirupa.com/t/remove-border-from-textarea-component/255463>\
**Category:** flash\
**Created:** [March 23, 2008, 1:48am UTC](https://forum.kirupa.com/t/remove-border-from-textarea-component/255463 "2008-03-23T01:48:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mark2741](https://avatars.discourse-cdn.com/v4/letter/m/e68b1a/32.png) [@mark2741](https://forum.kirupa.com/u/mark2741)\
**Post date:** [March 23, 2008, 1:48am UTC](https://forum.kirupa.com/t/remove-border-from-textarea-component/255463/1 "2008-03-23T01:48:03Z")

</div>

I’m working in ActionScript 3 and, yet again, I’m starting to regret trying to use components as it seems I always run into a brick wall when using them : (

I have a TextArea component instantiated and added to the display list programmatically via ActionScript 3 code (not AS2, which is all I could find reference to on the net about this).

How to disable the border so it doesn’t show around the TextArea component? I’ve tried a bunch of things, like for example:

myTextArea.setStyle(“border”, “false”);  
and  
myTextArea.setStyle(“borderStyle”, “none”);

but nothing seems to work. Help!

---

<div class="post-metadata">

**Author:** ![monty617](https://avatars.discourse-cdn.com/v4/letter/m/9dc877/32.png) [@monty617](https://forum.kirupa.com/u/monty617)\
**Post date:** [May 19, 2008, 8:39pm UTC](https://forum.kirupa.com/t/remove-border-from-textarea-component/255463/2 "2008-05-19T20:39:41Z")

</div>

I am having the same issue. Adobe documentation [S@CKS](mailto:S@CKS) on ActionScript 3.  
mytextArea.border = false; worked with AS2 but not AS3. I’ve been searching for quite some time and after all the hassle I think I may just be going back to AS2 as it is much less of a headache.
