[flexcoders] Flex 3 - showing HTML content

2011-09-21 Thread Vineet Bhatia
We have a Flex app which needs to show HTML content entered by the users from 
another non-flex app. The users copy and paste content from Word/Excel, other 
webpages into the non-flex app. I know that htmlText property has support for 
certain html tags but we need to render proper HTML like the browser does.

Whats the recommended way to display html in Flex 3?

- vineet



Re: [flexcoders] Flex 3 - showing HTML content

2011-09-21 Thread Tandon, Rishi
The only current way is to use an iFrame, or if you only need some html tags 
you could use the Text Layout Framework.
 
Here this is the iFrame approach:
http://code.google.com/p/flex-iframe/
If the swc do not work in Flex4 just use its ource code which works...
 
...it is basically based on this:
http://www.deitte.com/archives/2008/07/dont_use_iframe.htm
 
 
 
see also and vote, please:
http://bugs.adobe.com/jira/browse/SDK-12291
http://bugs.adobe.com/jira/browse/SDK-13740



From: Vineet Bhatia vineet.vine...@gmail.com
To: flexcoders@yahoogroups.com
Sent: Thursday, September 22, 2011 4:51 AM
Subject: [flexcoders] Flex 3 - showing HTML content


  
We have a Flex app which needs to show HTML content entered by the users from 
another non-flex app. The users copy and paste content from Word/Excel, other 
webpages into the non-flex app. I know that htmlText property has support for 
certain html tags but we need to render proper HTML like the browser does.

Whats the recommended way to display html in Flex 3?

- vineet