Darin,

I've actually seen the opposite result.  In one of our apps our SWF is
embedded in a HTML page (content both above and below it) so we have to
resize the DOM's <object> or <embed> (per browser) object.  Changing that
updates the SWFs canvas to work with.  It's messy since we have to trigger a
JavaScript event on the fly as the user is dragging a Flex widget but it
does work.

-Marty

On Wed, Feb 17, 2010 at 12:50 AM, Darin Kohles <[email protected]> wrote:

> If you try to re-size the object within the html document (the dom object),
> without reloading the application, all you'll be doing is scaling the
> display, not expanding the footprint.
>
>
> On Tue, Feb 16, 2010 at 9:17 PM, Justin Nichols 
> <[email protected]>wrote:
>
>> Going on what Leif said here, I'd also set a minWidth and minHeight on
>> your MXML application tag as well (and this assumes your
>> horizontalScrollPolicy and verticalScrollPolicy are set to auto or on).
>>  Therefore when the browser is resized (or starts in the state) where it's
>> viewport is lower than the minWidth or minHeight, you should see flex
>> scrollbars.
>>
>> The issue you will end up running into is where you have double/triple/etc
>> scrollbars.  It can be difficult to get past those especially when using
>> Lists or DataGrids (where you really need to have it scroll for efficiency
>> if you have lots of data).
>>
>> You definitely want to use the Flex scrollbars here, not the browser
>> scrollbars, in my opinion as well.
>>
>> Thanks,
>>
>> Justin Nichols
>>
>>
>> On Feb 17, 2010, at 12:05 AM, Leif Wells wrote:
>>
>> I'd use the uppermost level of your MXML for your scroll bar and stay away
>> from the browser scroll bar. That is what I've done in the past.
>>
>> Leif
>>
>>
>>
>>
>>
>> On Tue, Feb 16, 2010 at 11:35 PM, Cameron Childress 
>> <[email protected]>wrote:
>>
>>> I've Googled around a little about this, but haven't found an answer -
>>> I have a feeling I am just thinking about the problem all wrong.
>>>
>>> On initial load my Flex application fills the browser's viewable area
>>> - easy peasy.  But once the app is running, some screens inside the
>>> app are larger (taller) than this viewable area of the browser, and
>>> I'd like to resize the height of a Flex app in these states, causing
>>> the browser's scrollbar to appear.  If I set the initial size of the
>>> application to be taller than the browser I do get a browser
>>> scrollbar, but I can't seem to get the application to resize after
>>> it's already running.
>>>
>>> How am I looking at this problem wrong?
>>>
>>> -Cameron
>>>
>>>
>>> -------------------------------------------------------------
>>> To unsubscribe from this list, simply email the list with unsubscribe in
>>> the subject line
>>>
>>> For more info, see http://www.affug.com
>>> Archive @ http://www.mail-archive.com/discussion%40affug.com/
>>> List hosted by http://www.fusionlink.com
>>> -------------------------------------------------------------
>>>
>>>
>>>
>>
>>
>
>
> --
> Darin Kohles
> RIA Developer
>

Reply via email to