[Flashcoders] Missing characters in XML

2007-06-22 Thread Danny Kodicek
I'm having trouble reading and writing some characters to XML. I've got a file with . characters and I'm trying to read them and swap them for arrows (u2192). But for some reason it's not managing to see them (nodeValue.indexOf(.) is giving -1) I think the problem may be something to do with

Re: [Flashcoders] Missing characters in XML

2007-06-22 Thread Chris Tague
you might have to go nodeValue.toString() first.. c. On 6/22/07, Danny Kodicek [EMAIL PROTECTED] wrote: I'm having trouble reading and writing some characters to XML. I've got a file with . characters and I'm trying to read them and swap them for arrows (u2192). But for some reason it's not

RE: [Flashcoders] Missing characters in XML

2007-06-22 Thread Danny Kodicek
you might have to go nodeValue.toString() first.. No, nodeValue is already a string. I fixed the problem by reading the file in Director and passing it to Flash as a string - one case where Director's lack of Unicode support turned out to be a virtue... Danny

Re: [Flashcoders] Missing characters in XML

2007-06-22 Thread Steven Sacks
Ha! That is the best case of It's not a bug, it's a feature! I've ever seen. Danny Kodicek wrote: you might have to go nodeValue.toString() first.. No, nodeValue is already a string. I fixed the problem by reading the file in Director and passing it to Flash as a string - one case where

RE: [Flashcoders] Missing characters in XML

2007-06-22 Thread Danny Kodicek
Ha! That is the best case of It's not a bug, it's a feature! I've ever seen. Danny Kodicek wrote: you might have to go nodeValue.toString() first.. No, nodeValue is already a string. I fixed the problem by reading the file in Director and passing it to Flash as a string -