1. Home
  2. Computing & Technology
  3. Animation

Flash Animation 26: Flash for Web Design: Video Playback

By , About.com Guide

8 of 8

Fast Forward Button

There's only one button left to set up: the Fast Forward Button. And since we used the prevFrame command for the Rewind button, now we'll use the nextFrame command (Actions->Movie Control->nextFrame) in the exact same way, to advance the playback one frame at a time:

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

And now you're done, and you've managed to create your own simple media player with basic playback controls, thus enhancing the user experience when viewing video through your website. Now you know the trick--and it's not nearly as complicated as it would seem to be on first thought. The only thing you need to remember is that you have to reference the instance name of your movie clip before the controlling command, or the command will act upon the entire scene timeline instead of the movie clip timeline.

If you're a little lost, have a look at my page-in-progress, under the Video section, for a few cues as to how it should work.

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.