I’ve got a script loading in an external text file, and I set it to render text as html, but the percent signs in the text file won’t show up…if I change the percent sign to the html friendly &, then it just skips over all the text after that (the &) completely.
here’s the script (“thetext” is the variable that holds the link to the text file, and “specs” is the instance name of the dynamic text field):
<code>
loadText = new LoadVars();
loadText.load(thetext);
loadText.onLoad = function(success) {
if (success) {
// trace(success);
specs.html = true;
specs.htmlText = this.casualtext;
}
};
</code>
thanks in advance for the help.