Hi,
For some reason im having a problems getting percentage signs to show up when loading an external html file into a textarea using the loadVars method. Here is the code im using to get the text:
var myLV:LoadVars = new LoadVars();
myLV.onLoad = function(success) {
if(success) {
cContentArea.text = myLV.info;
} else {
cContentArea.text = “There has been an error loading the requested information. Please contact the Webmaster and report your error.”;
}
}
and the call:
myLV.load(“vars/” + sectionName + “.html”);
A snippet of the text file looks like this:
info=<span class=“header”>Costs</span><br><br>
<span class=“bodytext”>The following guide will give you general costs associated…
<br>Typically 6% depending upon marketing…
The percentage sign just doesnt show up at all and the text is actually shifted one to the left. I tried setting condenseWhiteSpace to true and false with no luck. Anyone have any ideas this is driving me nuts?
thx