62
CHAPTER 4 CHAPTER 4
AIR Mini-Cookbook
This chapter describes solutions to common tasks when
developing AIR applications. The solutions in this chapter
illustrate many concepts used in AIR application develop-
ment, and provide working HTML and JavaScript code that
can be leveraged within your application.
NOTE
All examples in this chapter assume you are using the
AIRAliases.js file.
Application Chrome
Adding Custom Controls
Problem
You want to create custom window chrome for your applica-
tion and need the ability for the user to close and minimize
the application.
Solution
Use native window APIs within Adobe AIR to hook up, mini-
mize, and close button functionality.