I haven't really looked too hard at the IFrame solutions, but couldn't
you use ExternalInterface and some Javascript to control an IFrame from
the SWF?

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of barry.beattie
Sent: Monday, May 07, 2007 12:21 AM
To: [email protected]
Subject: [flexcoders] Re: pulling in HTML content - looking for ideas



>
> Is the more info going to be more sophisticated than the
> TextArea.htmlText can handle?
> 
> Does it have a known set of html tags that you can mimic with
> TextArea.styleSheet?

thanx Alex,

in short, no, it's not complex, it'll be pretty straight forward HTML.

(ideally..)

just so long as I can load the relevant section of HTML in with a
src/source attribute that consists of
"[EMAIL PROTECTED]"

(ie: translates to "./more_info.html#policy101",
"./more_info.html#policy102", etc)

and rely on the browsers caching of the "more_info.html" file keep
the processing "thin"

- which TextArea.htmlText doesn't do and why I was looking at the
HTMLComponent.swc

just to be clear, what "more_info" HTML content that gets displayed is
pointed to by the apps internal data.

- I've got no server-side code to help out (no JSP/CF/PHP, etc)
- the "more_info" content has to be easily maintained (and a single
HTML doc with #anchors can be)

I'm not enthused with pulling in an external XML file full of [[CDATA
sections with nodes having a matching "bookmark" attribute (and trying
to maintain the thing) when all I really want is an IFRAME (I've had a
quick look at the iframe experiments for Flex and they seem to have
issues too)

which is why I think I'm out of luck trying to do this and clutching
at straws for an alternative.



 

Reply via email to