Chapter 14. Using Other Media

Desktop applications, like Web pages, rely on more than just text for their content. In this chapter you’ll learn how to use three specific kinds of media in an AIR application: sounds, PDFs, and XML data.

The bulk of the chapter focuses on sounds, specifically MP3s. Using sounds in an AIR application isn’t complicated, but there’s lots that can be done with them, so you’ll see four examples that illustrate the available options. Conversely, PDFs can be easily displayed but there’s not much more to them than that, so one simple program will cover pretty much everything you need to know with respect to PDFs. XML data is a different kind of resource but one that hasn’t been discussed in detail elsewhere and deserves ...

Get Adobe AIR (Adobe Integrated Runtime) with Ajax: Visual QuickPro Guide 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.