Hi, we had this issue in flex-iframe and solved it, may you can take inspiration: http://code.google.com/p/flex-iframe/source/browse/trunk/library/src/com/google/code/flexiframe/IFrame.as#1167 <http://code.google.com/p/flex-iframe/source/browse/trunk/library/src/com/google/code/flexiframe/IFrame.as#1167>Good luck understanding it :)
2010/5/25 Battershall, Jeff <jeff.battersh...@dowjones.com> > > > Nick, Steve, > > > > Thanks for your input. To provide a little background data – I’m using the > DrumbeatInsight HTML component, which works pretty well so long as you’re > left-aligned. But when the Flex content is center aligned, the IFrame > overlay does not compensate. So I was thinking along the lines of what > Steve was saying – listen to window resize and use external interface to > have Flex re-position the html content. I was really hoping for a solution > that was less of a hack and I’m hoping that it works well with multiple > IFrames open at once (which is my use-case). > > > > Jeff > > > ------------------------------ > > *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On > Behalf Of *Nick Middleweek > *Sent:* Tuesday, May 25, 2010 9:53 AM > *To:* flexcoders@yahoogroups.com > *Subject:* Re: [flexcoders] Detecting Browser Re-Size > > > > > > Can you expand a little on the page layout you ha.ve that needs to > change?.. You might be able to just use CSS to position some DIV tags in a > fluid layout and your SWF is in one DIV, your IFRAME in another and when the > browser resizes, the browser handles the moving using relative positioning. > > So maybe forget that you've got an IFRAME and SWF, this fluid layout > concept will apply to any HTML objects such as two images. > > Hope that helps somehow... (unless I've misread your problem?) > > > Cheers, > Nick > > -- > Sent by Nick Middleweek ( { email: n...@middleweek.co.uk, mobile: > +44(0)774 035 5424, blog: http://blog.middleweek.co.uk } ); > > > On 24 May 2010 20:35, Battershall, Jeff <jeff.battersh...@dowjones.com> > wrote: > > > > There’s a lot on this subject out there but not the definitive answer I’m > looking for – so I thought I’d see what Flex Coders has on the subject. > > > > I need to be able to re-position some HTML content (an IFrame) relative to > the screen coordinates of my Flex app, when the browser is re-sized. > > > > Can anyone point me in the direction of the best solutions to this? > > > > > >