Flex HTML output

In my flex application i need to show certain text which consists of html tags.I am giving you an example. <P>ABCDEFGHIJKLMN<b>OPQR</b>STU<i>VWX<i>YZ</P>.
Some <TABLE> tag are also present there.
The text should come to as it will show in html. I am passing the data through PHP from MYSQL database. Now it is showing me the as it was written previously. But i want that browser should parse the html portion. How to achieve these ?
Its urgent
akulaviAsked:
Who is Participating?
 
Gary BenadeConnect With a Mentor Commented:
Which component are you using to display this text data in flex?

If it's a TextBox are you setting the htmlText property to the html string above, or the text property?

Not all html tags are supported in flex, tags like table won't work for instance, it's mainly the formatting tags that work.

If you are using the htmlText property, put a breakpoint in the code and have a look what the text data looks like, if it's filled with ampersands & then you have to unescape the data in php before sending it to flex
0
 
Gary BenadeCommented:
The data is probably being stored in the database in escaped format, you will need to unescape it first
0
 
akulaviAuthor Commented:
i dont know regarding escaped format or unescaped format. User will enter the data through FCKEditor. And then data will save into MySql database as BLOB. So what can i do now ???
0
All Courses

From novice to tech pro — start learning today.