18. Working with External Media

Flash is one of the most expressive ways to create interactive content and media across multiple devices. ActionScript is a core part of connecting with media, and gives designers and developers the ability to work with images, audio, and video to make any experience more immersive and compelling.

In this chapter, you’ll learn how to load images, audio, and video and control their display and playback in your applications.

Using Images

When working with images, you have two options: You can import them into your Library and place instances of them on the Stage, or you can load them dynamically using ActionScript. Both options have advantages and disadvantages.

When importing images into the Library, you make the ...

Get Fundamentals of ActionScript 3.0: Develop and Design 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.