Have a look at overriding the measure() of the Application Class.
I think that Application is listening for any browser window size
changes and then updating the width and height.

Your alternative, if you do not want to resize the actual browser
window may be to create a container within mx:Applcation that you can
then control. Otherwise you will have to look at resizing the actual
browser window.

Regards,
 
Bjorn Schultheiss

--- In [email protected], "pilby1" <[EMAIL PROTECTED]> wrote:
>
> When I run my application where mx:Application's width is 640x480, by 
> default, it shows a gradient blue square depicting those screen 
> dimensions.
> 
> I then try to dynamically change the width to 1024 in actionscript when 
> a button is clicked. I had "trace"'d the application width after 
> changing it, and it does say the width is now 1024, but the screen 
> still shows 640x480. How can I make the application refresh to reflect 
> this new change in width? I tried invalidateSize(), 
> invalidateProperties, but neither works.
> 
> Thanks.
>





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to