Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 08-07-2009, 03:53 PM   #1
Senior Member
Join Date: Dec 2005
Posts: 263
Default app scale to monitor/display size

Is there any way to get an air app to automatically scale to the display size.
davej is offline   Reply With Quote
Old 08-11-2009, 02:09 PM   #2
Registered User
Join Date: Feb 2009
Posts: 16

ActionScript Code:
// Set to the width and height of your screen stage.stageWidth = Capabilities.screenResolutionX; stage.stageHeight = Capabilities.screenResolutionY; // Put it in the corner, so it's not hanging off the side stage.nativeWindow.x = 0; stage.nativeWindow.y = 0;

You'll probably also want to set some type of scale mode.
bfinleyui is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 05:11 PM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.