--- In [email protected], Brendan Meutzner <bmeutz...@...> wrote: > > I don't know of a finished component that you're asking for (perhaps other > folks might), but if faced with this question, I would approach it by > implementing an iFrame solution along with the RichTextEditor you mention. > You should be able to find plenty of blogs/older flexcoder posts related to > the inline frame rendering inside of Flex. > > HTH, > > Brendan > > > > On Tue, Jan 27, 2009 at 11:04 AM, markflex2007 <markflex2...@...>wrote: > > > Hi, > > > > I am looking for a component similar with Flex RichTextEditor but I > > need a HTML preview/editor feature. > > > > Thanks for your help > > > > Mark > > > > > > > > > > -- > Brendan Meutzner > http://www.meutzner.com/blog/ > I agree with Brendan, the IFrame choice is the best option for a Flex based application (non AIR). The AIR runtime has an HTML component (I think it's based on WebKit). The component seems to be a full featured browser, but using this component really defeats one of the purposes of Flex/AIR which is to be able to deploy a Flex app to the web or to the desktop (IMHO).
The IFrame solution can be difficult as a result of the fact that it makes external calls to JavaScript. But, if you're comfortable with JavaScript and comfortable with ActionScript, then it provides a reasonable solution. Search on Google for the code. I was able to find an IFrame wrapper in Flex about a year ago. Hopefully someone has wrapped a complete dialog with appropriate manager functions by now. This would greatly simplify the process. I have to say that I'm somewhat surprised that Adobe hasn't produced a Flex component for this by this point. It's a thorn when dealing with Flex. Please correct me if I'm wrong ;) Daniel Bermender
