# TextArea CSS

**URL:** <https://forum.kirupa.com/t/textarea-css/274001>\
**Category:** flash\
**Created:** [October 23, 2008, 4:09pm UTC](https://forum.kirupa.com/t/textarea-css/274001 "2008-10-23T16:09:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![adw999](https://avatars.discourse-cdn.com/v4/letter/a/a9adbd/32.png) [@adw999](https://forum.kirupa.com/u/adw999)\
**Post date:** [October 23, 2008, 4:09pm UTC](https://forum.kirupa.com/t/textarea-css/274001/1 "2008-10-23T16:09:38Z")

</div>

Hi

I am trying to add CSS to a TextArea component in AS3. I know this can’t be done easily with myTextarea.styleSheet so was wondering what the best way is? I’ve read articles about overriding the default draw function but most didn’t have clear instructions on how to implement them.

My TextArea is dynamically added.

Cheers
