Or you could use CDATA tags in your XML: <title><![CDATA[T&C'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

Are you sure about that?

var xml:XML = new XML(<dep>Fin &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 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 xml file? I tried to convert it to
>>> %26, but it won't display "&" in the flash
>>>
>>> for example:
>>>
>>> <dep>Fin & IT </dep>
>>>
>>>
>>> thanks
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to