It’s not an obvious solution. So no problem.

Google search “flex 2.0” + “iframe”

There are a couple of versions out there. The below has a good write up on
it.

http://www.deitte.com/archives/2006/05/update_to_embed.htm

try that; to have a look at the technique, I have my own version, but no use
uploading it to the group if it's available out there already.

jason

-----Message d'origine-----
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de gtuhl
Envoyé : mercredi 10 janvier 2007 21:51
À : flexcoders@yahoogroups.com
Objet : [flexcoders] Re: Html in Flex?


Yes it is just for display/preview. My apologies if this is obvious,
fairly new to Flex2, but how do I use an IFrame? The only
html-related bits I can find in the help system concerns the htmlText
property of text controls and iframe isn't listed as an understood tag.

I appreciate the quick response.

--- In flexcoders@yahoogroups.com, "Jason Hawryluk" <[EMAIL PROTECTED]> wrote:
>
> Would an iframe work for this? I mean is it just for display/preview not
> editing...
>
> jason
>
> -----Message d'origine-----
> De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
> part de gtuhl
> Envoyé : mercredi 10 janvier 2007 21:34
> À : flexcoders@yahoogroups.com
> Objet : [flexcoders] Html in Flex?
>
>
> We have an existing application that has a feature enabling a user to
> set content for and preview html newsletters. We are in the process
> of researching Flex2 and determining whether the client-side of this
> application (currently xul/html/js) should be converted.
>
> Is there any way to render html in Flex2? The htmlText property on
> Text won't cut it as it only supports a trivial subset of html.
>
> I essentially need to embed Gecko or another appropriate rendering
> engine so that the users can get a rough guess of what their content
> looks like. The same pages allow the user to quickly send test
> e-mails to whichever accounts they desire, but the quick-preview
> feature provided by the current version of the application is heavily
> used and cannot be cut.
>
> Ideally Flex2 has something similar to the <browser> component in xul.
>






Reply via email to