1. Home
  2. Computing & Technology
  3. Animation

Flash Animation 26: Flash for Web Design: Video Playback

By Adrien-Luc Sanders, About.com

4 of 8

Play Button

Ready to finally get those playback controls set up? Then let's start with the Play button, as it's one of the easiest and covers ground that we've trod before. Right-click on your Play button and select Actions; you're going to insert a simple gotoAndPlay command inside an on (release) to tell the movie clip to advance beyond frame one (the one with the stop on it preventing further playback) to frame two, so that it can play as normal from that point:

on (release) {
doorknobpage.gotoAndPlay (2) ;
}

You'll notice that I placed the name of my movie clip instance before the gotoAndPlay command, separated by a period; remember, this tells Flash just which object that that command is supposed to be enacted upon.

Explore Animation
About.com Special Features

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

Easy ways to connect two computers for networking purposes. 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.