But you have to say your textfield is HtmlText else it wont render and
just shows you amp; instead of
On Jun 12, 2008, at 3:21 PM, ACE Flash wrote:
i got it,
uses... = amp;
On Thu, Jun 12, 2008 at 9:14 AM, ACE Flash [EMAIL PROTECTED] wrote:
hey there,
Is it possible to display in the
Are you sure about that?
var xml:XML = new XML(depFin amp; IT/dep);
var tf:TextField = new TextField();
tf.text = xml;
addChild(tf);
I get Fin IT in the TextField.
Kenneth Kawamoto
http://www.materiaprima.co.uk/
Sidney de Koning wrote:
But you have to say your textfield is HtmlText else it
Try doing that with an external file and an exotic font :)
To prevent errors from my side i always place my text in a CDATA
(where appropriate) and make sure I have the htmlText option on.
When working with exotic fonts (not your standard verdana, times or
arial) you might get in trouble.
Sidney - nope, the amp; is taken care of at XML parse time.
You'd only have to use htmlText if the string was:
depFin amp;amp; IT/dep
:-)
Ian
On Thu, Jun 12, 2008 at 3:03 PM, Sidney de Koning
[EMAIL PROTECTED] wrote:
But you have to say your textfield is HtmlText else it wont render and just
Or you could use CDATA tags in your XML: title![CDATA[TC's]]/title
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kenneth
Kawamoto
Sent: 12 June 2008 15:31
To: Flash Coders List
Subject: Re: [Flashcoders] Re: Is it possible to display in the xml file
To clarify - amp; is part of the XML spec and is nothing to do with
HTML. Just by coincidence, HTML has the same entity amp; defined.
A standards-conforming XML parser - which the Flash one is - will
always translate amp; into within text nodes.
So when you extract the text node from the XML,
Usually I use #38;
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Karim
Beyrouti
Sent: 12 June 2008 15:47
To: 'Flash Coders List'
Subject: RE: [Flashcoders] Re: Is it possible to display in the xml file
Or you could use CDATA tags in your XML:
7 matches
Mail list logo