6. Using Timeline Scripting with Mouse Events

Everything you have done so far has used ActionScript and for the most part, ignored the timeline. I want to reassure you that you don’t need to choose one over the other, the timeline and ActionScript can peacefully coexist. In fact, they work very well together, and you’ll be able to create some amazing projects using both.

There are certain ActionScript commands that can alter the playback of the timeline. In this chapter, you’ll learn about all of these timeline controls. Some of these might be familiar to you already, but in this chapter you’ll use these controls in combination with mouse events to create an interactive project.

Explaining the Project

The project in this chapter has a ball that ...

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.