# textArea component alpha

**URL:** <https://forum.kirupa.com/t/textarea-component-alpha/266515>\
**Category:** flash\
**Created:** [July 21, 2008, 6:20pm UTC](https://forum.kirupa.com/t/textarea-component-alpha/266515 "2008-07-21T18:20:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![reddronin](https://avatars.discourse-cdn.com/v4/letter/r/a9adbd/32.png) [@reddronin](https://forum.kirupa.com/u/reddronin)\
**Post date:** [July 21, 2008, 6:20pm UTC](https://forum.kirupa.com/t/textarea-component-alpha/266515/1 "2008-07-21T18:20:54Z")

</div>

Hello everyone. I’m having trouble with this and haven’t found a workable solution. I’m sure I’m just being…silly. Any thoughts?

Have a textArea component on stage, which receives XML data. The AS3 is below. The textArea component, affectionately named “ta” does not alpha out to 0. I have a tweenLite tween on there, no dice. If anyone has any suggestions, I would appreciate it!

var txtLoader:URLLoader = new URLLoader();  
txtLoader.addEventListener(Event.COMPLETE, onLoaded);  
var xml:XML;  
txtLoader.load(new URLRequest(“news.xml”));  
var myFormat:TextFormat = new TextFormat(“Adobe Caslon Pro”, 13, 0x333333);  
ta.setStyle(“textFormat”, myFormat);  
ta.alpha = 0;  
ta.setStyle(“embedFont”, true);

function onLoaded(e:Event):void {  
xml = new XML(e.target.data);  
ta.text = xml;  
}

Also, I’m not very code savvy, so I apologize if this is a simple question.
