You have to also change the width and height of the embedded SWF.  You are
probably just changing the stage's width and height.  To do this you have to
call an external javascript function using ExternalInterface.  It's a very
simple task, just google that and you'll find a million examples.

 

Jake Churchill

CF Webtools

11204 Davenport, Ste. 100

Omaha, NE  68154

http://www.cfwebtools.com

402-408-3733 x103

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of superabe superabe
Sent: Monday, September 28, 2009 5:42 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Change Application width and height at runtime

 

  

Hi,

I'd like to change the "width" and "height" of the top level Application
object in my Flex app, at runtime. However the usual attempts to do this
simple task do not seem to work.
Binding does not work, changing width and height on any of the lifecycle
events does not work....

Anybody know how to achieve this ?

TIA

- superabe



Reply via email to