PDA

View Full Version : Flash MX and XML help



Ziggwi
January 5th, 2004, 04:41 AM
Hi guys I've got a small problem with Flash MX and XML.

The thing is I can load and access all the information of the XML file, except when it comes to special characters, then it displays the special characters in a funny way.

for example

instead of ' it displays '

instead of " it displays "


I also tried using numbered entity such as ' representing single quotes, but it still doesn't work. Comes out with same results.

I also tried changing the dynamic text box into "render text as html", but still no same problem.

Any kind of help would be great :)

norie
January 5th, 2004, 04:48 AM
if you make the dynamic textbox into html, make sure to set text by using:


myTextBox.htmlText = "'hi'";
btw, that worked for me ^ ^

also you could try using html query esape codes, and using the unescape function in flash to convert it back to normal text.

Ziggwi
January 5th, 2004, 11:35 PM
Thanks for the help :)