Raji.S
09-18-2009, 12:34 PM
Hi,
I am new to flex. In my application, I set my canvas width as screen Resolution. Like this,
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"
width="{Capabilities.screenResolutionX}"
height="1000"
showEffect="Fade"
hideEffect="{Application.application.FadeOut}"
horizontalScrollPolicy="off"
xmlns:remotedevelopment="components.remotedevelopment.*"
xmlns:insoft="components.*"
backgroundColor="0xFFFFFF">
Its working well. My problem is, after ran my application, the user will change the resolution. That time, automatically the width also should change as a screen resolution . wt i should do for this?. pls help me.
Thanks in advance
I am new to flex. In my application, I set my canvas width as screen Resolution. Like this,
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"
width="{Capabilities.screenResolutionX}"
height="1000"
showEffect="Fade"
hideEffect="{Application.application.FadeOut}"
horizontalScrollPolicy="off"
xmlns:remotedevelopment="components.remotedevelopment.*"
xmlns:insoft="components.*"
backgroundColor="0xFFFFFF">
Its working well. My problem is, after ran my application, the user will change the resolution. That time, automatically the width also should change as a screen resolution . wt i should do for this?. pls help me.
Thanks in advance