Works great - Thanks!  The only issue I've had with this approach is 
having to manually manage the iframe "visible" property when 
navigating between different states of my application.  

--- In flexcoders@yahoogroups.com, "Derrick Anderson" 
<[EMAIL PROTECTED]> wrote:
>
> maybe this link can be of some help to you
> 
> http://www.deitte.com/IFrameDemo3/IFrameDemo.html
> 
> d.
> 
> On Nov 28, 2007 10:48 AM, byte.sensei <[EMAIL PROTECTED]> wrote:
> 
> >   I have a Flex 3 application that generates HTML, PDF, and Excel 
reports
> > from SQL Server Reporting Services.
> >
> > In the case of HTML, I've been using navigateToURL() to load the 
result
> > into the browser. This works fine, but I'd really like to embed 
the
> > HTML into a Flex container and "wrap" the application
> > navigation/header/footer around it so that the user stays in the 
Flex
> > app and has access to all of the site navigation, etc.
> >
> > In the Flex/AIR documentation there's lots of examples that use
> > HTMLControl / URLRequest to load the HTML content of a URL and 
then add
> > the HTMLControl display object. However, the required
> > flash.html.HTMLControl library is not available in Flex.
> >
> > I tried using flash.display.Loader / URLRequest and then used
> > this.rawChildren.addChild() but that doesn't seem to work either -
 the
> > page is just blank. I thought maybe I needed to specify the
> > height/width but that didn't make any difference. Here's the code 
I'm
> > using:
> >
> > import flash.display.Loader;
> > import flash.net.URLRequest;
> >
> > private function load_html() : void {
> > var html:Loader = new Loader();
> > var urlReq:URLRequest = new URLRequest("http://www.symetri.com/";);
> > html.width = 900;
> > html.height = 900;
> > html.load(urlReq);
> > html_box.rawChildren.addChild(html);
> > }
> >
> > The function runs on creationComplete() of the html_box VBox 
container.
> >
> > Isn't there some type of HTMLLoader Flex component similar to 
SWFLoader
> > out there somewhere that will do this sort of thing? If not, any 
other
> > suggestions?
> >
> >  
> >
>


Reply via email to