1. Home
  2. Computing & Technology
  3. Animation

Flash Animation 26: Flash for Web Design: Video Playback

By , About.com Guide

6 of 8

Pause Button

For the Pause button, we're still sticking to familiar territory, but used in a different way. We've used stops before, but we've used them by placing them on a specific frame so that playback automatically stops when it reaches that frame. This time we're going to insert a stop that's only activated when the button is clicked, thus stopping playback immediately without being limited to a specific, preset frame:

on (release) {
doorknobpage.stop () ;
}

Now, when the Pause button is clicked, the playback will instantly freeze as Flash enacts a stop on the current frame of playback.

Explore Animation
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Animation
  4. Flash Animation Tutorials
  5. Flash Animation 26: Flash for Web Design: Video Playback

©2009 About.com, a part of The New York Times Company.

All rights reserved.