If you are in the main application window you can directly chage width and 
height.
width=intWidth         
height=intHeight;
U can also Try.
NativeApplication.nativeApplication.activeWindow.width=intWidth;
NativeApplication.nativeApplication.activeWindow.height=intHeight;
Dinesh
 
<font style="color:rgb(0, 0, 127);" size="3"><span 
style="font-weight:bold;">Dinesh Kulkarni</span></font>





----- Original Message ----
From: Alex Harui <[EMAIL PROTECTED]>
To: [email protected]
Sent: Thursday, June 12, 2008 2:01:03 AM
Subject: RE: [flexcomponents] changing AIR application width and height


I don’t think there is a way to do it with regular Application.
 

________________________________

From:flexcomponents@ yahoogroups. com [mailto: flexcomponents@ yahoogroups. com 
] On Behalf Of rambabu
Sent: Sunday, June 08, 2008 10:01 PM
To: flexcomponents@ yahoogroups. com
Subject: [flexcomponents] changing AIR application width and height
 
Hi,

How to change an AIR application width and height at run time.

Also how to change the x and y coordinates at run time.

I am trying to change them by accessing with this..

this.width
this.height
this.x
this.y

This is not helping always...

I am not using WindowApplication tag inside AIR...but just a normal
Application tag...

Please help...

Thanks,
Rambabu. 


      

Reply via email to