Re: [flexcoders] flex-iframe (resize panel container based on html doc height)

2010-01-15 Thread Julien Nicoulaud
Those examples don't work ?
http://flex-iframe.googlecode.com/svn/trunk/examples/build/SimpleHtml/SimpleHtml.html
http://flex-iframe.googlecode.com/svn/trunk/examples/build/Dashboard/dashboardsample.html
http://flex-iframe.googlecode.com/svn/trunk/examples/build/IFrameDemo/IFrameDemo.html
http://flex-iframe.googlecode.com/svn/trunk/examples/build/HTMLTest/HTMLTest.html
http://flex-iframe.googlecode.com/svn/trunk/examples/build/IFrameWithLoadIndicator/IFrameWithLoadIndicator.html

2010/1/14 flexfortress 

>
>
> I have been tasked with a proof of concept for a Flex application, and I've
> been asked to render html within a panel and have the panel resize during
> runtime depending upon the height of the html content.
>
> I've check out the code for Christophe's exmaple - which is a good start:
> http://www.deitte.com/IFrameDemo3/IFrameDemo.html
>
> However, I need to have the panel resize on the fly; therefore, making the
> browser implement scrollbars, and not the panel.
>
> I checked out flex-iframe which looks very promising, but I have not been
> able to get the examples to render.
> http://code.google.com/p/flex-iframe/
>
> Any help? Insights? Has anyone dealt with this? (I know iframes blow, but
> it's a requirement)
>
> It seems like I can embed a Javascript function in the html file that
> announces the dimensions to ActionScript and then an AS function resizes the
> panel - which one of the flex-iframe examples proves. but, so far, I haven't
> been able to do this.
>
> Thanks for any assistance!
>
> David
>
>  
>


[flexcoders] flex-iframe (resize panel container based on html doc height)

2010-01-14 Thread flexfortress
I have been tasked with a proof of concept for a Flex application, and I've 
been asked to render html within a panel and have the panel resize during 
runtime depending upon the height of the html content.

I've check out the code for Christophe's exmaple - which is a good start:
http://www.deitte.com/IFrameDemo3/IFrameDemo.html

However, I need to have the panel resize on the fly; therefore, making the 
browser implement scrollbars, and not the panel.

I checked out flex-iframe which looks very promising, but I have not been able 
to get the examples to render.
http://code.google.com/p/flex-iframe/

Any help?  Insights?  Has anyone dealt with this?  (I know iframes blow, but 
it's a requirement)  

It seems like I can embed a Javascript function in the html file that announces 
the dimensions to ActionScript and then an AS function resizes the panel - 
which one of the flex-iframe examples proves. but, so far, I haven't been able 
to do this.

Thanks for any assistance!

David