Skip to Content
Flash CS3: The Missing Manual
book

Flash CS3: The Missing Manual

by E. A. Vander Veer, Chris Grover
May 2007
Beginner
530 pages
16h 16m
English
O'Reilly Media, Inc.
Content preview from Flash CS3: The Missing Manual

Chapter 10. Controlling Animation

Ordinarily, Flash assumes you want to play your animation in sequential order from the first frame on your Timeline to the last. But sometimes start-at-the-beginning-and-quit-at-the-end isn't exactly what you want. Fortunately, by using a combination of scenes, frame labels, and ActionScript (Chapter 9), you can control your animation virtually any way you like.

For example, say you're putting together an instructional animation. You want to start with an introductory section, move on to the meat of your topic, and then wrap up with a question-and-answer section. If you organize these sections into separately named scenes, then you can play with the order of your animation quickly and easily. If you decide to reposition the question-and-answer scene directly after the introduction as a kind of pretest, for example, you can do that with a simple drag of your mouse. You can even add buttons the trainee can click to replay the question-and-answer scene over and over, as many times as she likes.

In this chapter, you'll see how to create both frame-and object-based ActionScript actions to make the most common types of nonsequential playback effects, including looping (replaying a section of your animation over and over again) and reversing (playing a section of your animation backwards). To make these effects easy to test, you'll also see how to add interactive buttons to your animations. Finally, this chapter describes how to control the overall speed ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Flash CS5: The Missing Manual

Flash CS5: The Missing Manual

Chris Grover

Publisher Resources

ISBN: 9780596510442Errata Page