Chapter 8. Controlling the Timeline in Code
Stop a Movie
Flash animates movies in much the same way film creates the illusion of motion onscreen. In both cases, a static image is displayed in a frame. The image is then changed slightly in the next frame, and then again in the next, and so on. When the frames are played back in quick succession, our eyes and brains are fooled into believing that we are seeing motion, thanks to something known as persistence of vision.
In Flash, this change in images over frames is controlled on the Timeline, a panel in the Flash interface. The Timeline panel shows each of the frames in the movie — Flash movies can contain up to 16,000 frames. Flash Player runs through the frames in the movie at the movie's frame ...
Get ActionScript®: Your visual blueprint™ for creating interactive projects in Flash® CS4 Professional 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.