Chapter 6. Working with Screens

IN THIS CHAPTER

Working with Screens is fairly straightforward. Adobe® AIR™ exposes an application programming interface (API) (flash.display.Screen) that enables you to determine the visual real estate of the runtime environment, such as the number of Screens available, their dimensions (or bounds), and a Screen’s usable space.

We’ll step through a number of examples to highlight the inner workings of Screens, but first we need to lock down the concept of the virtual desktop in Adobe AIR.

The Virtual Desktop

Whether a user has one or an array ...

Get Adobe AIR Programming Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.