I will create a new thread but here it is...
I am setting my text autosize as left:
Code:
my_text.autosize = "left";
But when i load an XML into it, it is acting like i hadn't set it like "left". Just a few lines appear as difference, but not whole XML file. Here is the code i used:
Code:
var my_xml:XML = new XML();
my_xml.ignoreWhite = true;
my_xml.onLoad = function(success:Boolean):Void {
if (success) {
my_text.text = my_xml;
my_text.autoSize = "left";
}
};
my_xml.load("sample.xml");
By the way, "my_text" is placed in a scrollable area that is created manually. When i put it out, it works but i need it in that area. Any ideas?