Re: [Flashcoders] CDATA Html Text not working

2007-07-24 Thread Peter Hall
l Message- From: [EMAIL PROTECTED] [mailto:[EMAIL 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

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: > > this.firstChild.childNodes[i].firstChild.childNodes[j].c

RE: [Flashcoders] CDATA Html Text not working

2007-07-24 Thread David Ngo
: [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 instead. AS3 takes care of it though if you can go that route. Jason Merrill Bank of America GT&O Learning &am

RE: [Flashcoders] CDATA Html Text not working

2007-07-24 Thread Merrill, Jason
; 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

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

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 ""? Is it even possible to read the html value fo

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 <'s and >'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 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. [this.firstChild.childNodes[i].firstChild.childNod

RE: [Flashcoders] CDATA Html Text not working

2007-07-24 Thread Danny Kodicek
> XML: > > > The problem is the XML Node is not reading as a string and > the html text field reads the node as a literal string > instead of html text. I mean it prints something like "Blah > blah someLink some bold text > " in my text field. > > AS: > var tt:TextField = > m.createTextFi

RE: [Flashcoders] CDATA Html Text not working

2007-07-24 Thread Pete Miller
the string that you extract in this case may not contain what you want. P. >> -Original Message- >> From: [EMAIL PROTECTED] [mailto:flashcoders- >> [EMAIL PROTECTED] On Behalf Of Chris W. Paterson >> Sent: Tuesday, July 24, 2007 11:29 AM >> To: Flashcoders mail

[Flashcoders] CDATA Html Text not working

2007-07-24 Thread Chris W. Paterson
So I'm working on a project... I'm reading xml nodes and placing each node into dynamic text fields... XML: The problem is the XML Node is not reading as a string and the html text field reads the node as a literal string instead of html text. I mean it prints something like "Blah blah someLi