There is also Judah's HTML component, which uses tricks and magic
(IFrames and the AS/JS bridge) to render HTML content into an area on
the Flex app.

http://drumbeatinsight.com/htmlcomponent

He's got an updated version at the moment but the old version I used,
I used like this (his control is "<ns1:HTML ... />"):


<mx:TabNavigator width="100%" height="100%">
<mx:Canvas label="Diagnostic Tool" width="100%" height="100%">
<mx:VBox width="100%" height="100%">

<mx:HBox width="100%" height="45%">
<mx:Canvas label="Protocol" width="50%" height="100%">

<!--## use one ##-->
<ns1:HTML elementType="iframe" source="{bookmark}"
id="myframe2" width="100%" height="100%" />
</mx:Canvas>
<mx:Accordion width="50%" height="100%">

...
</mx:Accordion>
</mx:HBox>

<mx:Panel width="100%" height="55%" layout="vertical"
title="Indicate your response by moving the slider">

... </mx:Panel>

</mx:VBox>
</mx:Canvas>
<mx:Canvas label="Protocol" width="100%" height="100%">
<!--## use two ##-->
<ns1:HTML width="100%" height="100%" elementType="iframe"
source="{protocolDoc}" id="protocol_html"/>
</mx:Canvas>

<mx:Canvas label="Help" width="100%" height="100%">
<!--## use three ##-->
<ns1:HTML width="100%" height="100%" elementType="iframe"
source="{helpDoc}" id="help_html"/>
</mx:Canvas>

</mx:TabNavigator>






--- In [email protected], "lytvynyuk" <[EMAIL PROTECTED]> wrote:
>
> That is absolutely understandable.
> 
> --- In [email protected], "Gordon Smith" <gosmith@> wrote:
> >
> > > BTW, I saw only AIR has ability to render HTML, not Flex... why?
> >  
> > Because the Flash Player for browsers needs to stay small and a
> > full-HTML-renderer-plus-JavaScript-interpreter like AIR has is too
> > large. On Windows, for example, AIR's WebKit.dll is more than 13MB.
> >  
> > - Gordon
> > 
> > 
> > ________________________________
> > 
> > From: [email protected]
> > [mailto:[EMAIL PROTECTED] On Behalf Of lytvynyuk
> > Sent: Thursday, November 08, 2007 8:07 AM
> > To: [email protected]
> > Subject: [flexcomponents] HTML rendering component.
> > 
> > 
> > 
> > I three any ready to use solution to display HTML text in Flex 3
> > application?
> > BTW, I saw only AIR has ability to render HTML, not Flex... why?
> >
>


Reply via email to