NativeWindow content scaling issues (Adobe AIR)Products affected
Issue
Content drawn into the stage of a non-initial window is scaled too much when the stage scaleMode is not set to "noScale."
For example, if you draw a rectangle smaller than the window display area, the drawn content is scaled down about 30%.
Initial windows do not exhibit this behaviour.
Reason
This is the designed behaviour of Adobe AIR.
In a non-initial window, there is no way to predict the size of loaded content. In an initial window, the size of loaded content is determinedby the size of the SWF file to beloaded; but non-initial windows may not do not contain SWF files.
Solution
Set your window scaleMode to "noScale": myWindow.stage.scaleMode = "noScale";
You should also define the size of any non-initial windows in your application.
If you need to rescale your content while working, we recommend that you hook the window resize event on either your Stage or NativeWindow and construct your own resize code.
Doc ID
(kb403146)
Last updated
2009-11-18
OS
Mac OS 10.4
Mac OS 10.5
Windows Vista
Windows XP
Products affected
