Solved! Turn off anti-aliasing when importing external text tiles - must select "Use device fonts"
Issue: Missing loaded text from external file. In CS5 using As3, maybe with CS4, but not in CS3.
Two dynamic text fields with instances of title_text0 and title_text1
Displays: "ello T" & "eetings T"
Copy & Pastes: "Hello T0" & "Greetings T1"
AS3
var XMLloader:URLLoader = new URLLoader();
XMLloader.load(new URLRequest("target.xml"));
XMLloader.addEventListener(Event.COMPLETE, onLoadXML);
function onLoadXML(event:Event)
{
var XMLdata:XML = new XML(event.target.data);
for (var i:int = 0; i < XMLdata.title.length(); i++)
{
this["title_text" + i].text = XMLdata.title[i]. @ name;
}
}
stop();
XML
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE data[
<!ELEMENT title>
<!ATTLIST title name CDATA #REQUIRED>
]>
<data>
<title name="Hello T0">
</title>
<title name="Greetings T1">
</title>
</data>
This happens when loading from *.txt and *.html as well.
XMLloader.dataFormat = URLLoaderDataFormat.TEXT; does not change this.
EDIT1::: It gets much worse when loading entire paragraphs, it's random, so it isn't just the first and last letters.
EDIT2::: Text formatting and text field formatting does not help.
EDIT3::: Displays missing characters as unformatted if changed to TFL text, but rest still formatted.
Solved! Works with _sans, _serif, and _typewriter. The answer is!!! Anti-aliasing - must select "Use device fonts"