This is why Flex 4 has a completely new Text rendering engine. You'll be surprised what will popup with the new handling abilities. XHTML will definitely be possible to render with a custom engine, but then that kind defeats the purpose of RIA and the Flash Player. :) Nah, anything is possible. Mike
On Wed, Jan 28, 2009 at 12:38 PM, danielberm <[email protected]> wrote: > --- In [email protected] <flexcomponents%40yahoogroups.com>, > 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 > > > -- Teoti Graphix, LLC http://www.teotigraphix.com Teoti Graphix Blog http://www.blog.teotigraphix.com You can find more by solving the problem then by 'asking the question'.
