Hour 15 AIR and the Natives

In this hour, you’ll learn

    • Working with application and window menus

    • Creating Dock Icon Menus

    • Creating System Tray Icon Menus

    • Creating Context Menus

    • Creating Pop-up Menus

Introduction to the NativeMenu Class

In this hour you will look at the NativeMenu class and a related class, the NativeMenuItem class. The NativeMenu class contains the methods and the properties for defining menus for an AIR application. An AIR application can contain the following types of menus:

• Application (only on the Mac OS)

• Window (only on the Windows OS)

• Dock icon (only on the Mac OS)

• System Tray icon (only on the Windows OS)

• Context

• Pop-up

The NativeMenuItem class represents ...

Get Sams Teach Yourself Adobe® AIR™ Programming in 24 Hours 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.