Groups | Blog | Home
all groups > flash data integration > february 2006 >

flash data integration : Flash and HTML tags in XML text


giegi
2/15/2006 12:00:00 AM
I have an XML which i use to get some links to be displayed in a textField
inside Flash.
My problem is that Flash seems to misunderstand the entities in the XML file.
Inside XML file I tried to write the tags in a CDATA section, whitout it, as
XML entities or HTMl entities, but flash cannot recognize them.
If I use CDATA, flash correcty interprets tags, but it does not render as
htmltext even if textfield is set to htmlText
If I use XML Special Characters flash cannot understand them.
I tried the System.useCodePage but nothing.
Anyone can help?
Is it a bug?
latariod
2/16/2006 3:14:19 PM
- Having same problem as above Post -

Hi,

I seem having the same problem as you, regarding the CDATA section, and also
'Render as HTML',
Did you manage to fix it? IF so, i would be grateful if you could let me know
how you overcame this issue.

Thanks
perry
2/16/2006 4:19:55 PM
adding

yourtextfield_txt.html = true;

fixed the problem for me.
strange enough, but enabling htmltext in the property inspector fails, while
enabling htmltext via actionscript works.
just one more curiosity ...

perry



"giegi" <webforumsuser@macromedia.com> schrieb im Newsbeitrag
news:dsv64t$5s6$1@forums.macromedia.com...
[quoted text, click to view]

AddThis Social Bookmark Button