all groups > flash data integration > september 2006 >
You're in the

flash data integration

group:

problem displaying html tags in flash from xml - URGENT PLEASE !!!!


problem displaying html tags in flash from xml - URGENT PLEASE !!!! vinay vasu
9/6/2006 8:49:36 PM
flash data integration:
Hi All,

I have a flash application in which the data is retrived from an xml =
file which is dynamically written using ASP as ADMIN Console (i.e the =
client can type in the data through an admin console which when updated =
writes an xml file). The problem is when the data is written the breaks =
made by the user inside the textfield is converted to <br/> and is =
written in the xml file. But when it (xml) is read by flash it directly =
prints the <br/> tag as it is rather making a break in the paragraph. =
Whereas i have made the dynamic textbox into HTML but it still prints =
the same. when i looked into the xml code the <br/> tag was written in =
this format ( &gt;br/&lt;) even though i have mad cahnges in my asp code =
to replace the tag, it still remains the same.

Pls help me as i am in a deep trouble as this project has to be =
delivered.

Any help will be appreciated
Thanks
Re: problem displaying html tags in flash from xml - URGENT PLEASE !!!! yachts99
9/7/2006 12:00:00 AM
First off use CDATA in your xml so Flash will see your HTML tags as just HTML
and not as a new xml tag i.e.

<title><![CDATA[This is <br> the title]]></title>

Secondly there must be some problem with the asp file that generates the xml
if you are getting >br/&lt instead of <br>. I can't help there nut it needs
further investigation.
Re: problem displaying html tags in flash from xml - URGENT PLEASE !!!! Vinay Vasu
9/9/2006 12:00:00 AM
Thanks yachts for your prompt reply.
How can i replace the string ( &gl;br/&lt ) inisde flash as soon as it gets
parsed.

Thanks
Vinay

[quoted text, click to view]

AddThis Social Bookmark Button