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.