We have 4 monitors arranged 2 x 2. Are there any ways to enable the new release of AIR to expand across all monitors in one window?
Alternatively is there any software that can trick it the display driver to show only one large monitor?
migrated from stackoverflow.com Aug 25 '11 at 0:53
This question came from our site for professional and enthusiast programmers.
Check the documentation for flash.display.Screen.
Once you figure out how big it should be, you should be able to set its position and size using the
So here at work I have two monitors, so I threw together a quick test AIR app:
You can see it loops through the available screens. It also creates a new rectangle that is a union of the composite screens. Then sets
The output of the app is this:
One thing to consider is this doesn't take into account the taskbar or anything else, and if your screens are different sizes, like mine are, the resulting rectangle will be larger than your actual screens. But this should at least give you a place to start.
So, to answer your question: Yes. :)
There is also a much simpler way to accomplish this - just set the stage to the size required, and in application.xml set