RE: [Flashcoders] CDATA Html Text not working

2007-07-24 Thread Chris W. Paterson
here is the snipit of code: local.obCredits[this.firstChild.childNodes[i].firstChild.childNodes[j].nodeName] = this.firstChild.childNodes[i].firstChild.childNodes[j].childNodes; local.obCredits --- This is passed as an object later to a Class.

RE: [Flashcoders] CDATA Html Text not working

2007-07-24 Thread Joshua Sera
Flash doesn't actuall support the CDATA tag. It sort of does, but all 's and 's get replaced with lt;'s and gt;'s. When you stick it in a text field, it correctly interprets the HTML entities, which leads to you getting HTML tags where they shouldn't be. --- Chris W. Paterson [EMAIL PROTECTED]

Re: [Flashcoders] CDATA Html Text not working

2007-07-24 Thread Alan MacDougall
Chris W. Paterson wrote: this.firstChild.childNodes[i].firstChild.childNodes[j].childNodes;--- this is how I am trying to access the content of that node. First off, I'm guessing I should use .nodeValue? Will that give me the entire node with ![CDATA[]]? Is it even possible to read the html

RE: [Flashcoders] CDATA Html Text not working

2007-07-24 Thread David Ngo
If you're using Flash 8, XPath was already integrated into its library/API. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris W. Paterson Sent: Tuesday, July 24, 2007 1:44 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] CDATA Html

RE: [Flashcoders] CDATA Html Text not working

2007-07-24 Thread David Ngo
eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Ngo Sent: Tuesday, July 24, 2007 1:55 PM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] CDATA Html Text not working If you're using Flash 8, XPath

Re: [Flashcoders] CDATA Html Text not working

2007-07-24 Thread Chris W. Paterson
Great! That works! Thanks so much!! I'll look into that XPath... Maybe not for this project since it's on a tight deadline, but for the future! Thanks! Chris --- Alan MacDougall [EMAIL PROTECTED] wrote: Chris W. Paterson wrote:

Re: [Flashcoders] CDATA Html Text not working

2007-07-24 Thread Peter Hall
PROTECTED] On Behalf Of Merrill, Jason Sent: Tuesday, July 24, 2007 2:00 PM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] CDATA Html Text not working But only a partial one, right? That's what I understood - others have commented on it. I have used xfactorstudios Xpath classes