beesbane
asked on
Apostrophes handled XML to Flash
I have created a dynamic text field in my flash file that is populated with text from an xml file. Everything works fine with the exception of apostrophes and quotes and such which show as "'" and """.
Attached is my AS2 XML loader:
How would I have it allow apostrophes?
Attached is my AS2 XML loader:
How would I have it allow apostrophes?
var my_xml = new XML();
my_xml.onLoad = function(success){
if (success){
film_l.text =(this);
}
}
my_xml.load("myXML.xml");
ASKER
That still doesn't work. Any other suggestions? For now I am just using ` instead of ', but I think it looks kind of questionable, not to mention tacky.
I'm at work now so i can try properly. upload your xml file or paste the format you're using.
ASKER
It's just plain text in an xml file. No nodes, parents, children.
ASKER
Here is the file
sef-films-1.xml
sef-films-1.xml
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Alright, you're right. I guess I just hadn't reloaded the whole file. Thanks very much.
It's xml because I gutted and modified an old file I had used that was initially loading images. It was just less work... or so it seemed.
Thank you.
It's xml because I gutted and modified an old file I had used that was initially loading images. It was just less work... or so it seemed.
Thank you.
try change to film_1.htmlText = (this);