G'day,
I'm getting data from a web service style ASP page using an XML Object and whenever i get the xml back into flash all the special characters in the cdata/text nodes have been converted into entities e.g. < converted to <.
This is a problem as i'm getting html text from a db and displaying it in textfields and as you can imagine the html shows in the textfields rather that formats the surrounding text. I'm a bit of a flash newb so i haven't encountered this before and in general browsers have no problems rendering entities so why not the bloody flash textfield objects. sorry no offence intended flash gurus.
i could tackily text replace the entities with thier requisite characters but this will be rather inefficient and I would rather come up with a more suitable solution.
Wondering if anyone else has encountered this problem and how they got around it.
thanks in advance
Shaggs
I'm getting data from a web service style ASP page using an XML Object and whenever i get the xml back into flash all the special characters in the cdata/text nodes have been converted into entities e.g. < converted to <.
This is a problem as i'm getting html text from a db and displaying it in textfields and as you can imagine the html shows in the textfields rather that formats the surrounding text. I'm a bit of a flash newb so i haven't encountered this before and in general browsers have no problems rendering entities so why not the bloody flash textfield objects. sorry no offence intended flash gurus.
i could tackily text replace the entities with thier requisite characters but this will be rather inefficient and I would rather come up with a more suitable solution.
Wondering if anyone else has encountered this problem and how they got around it.
thanks in advance
Shaggs