1. Home
  2. Computing & Technology
  3. Animation

Flash Animation 25: Flash for Web Design: Simple Video Imports

By Adrien-Luc Sanders, About.com

3 of 10

Directing Preview Buttons to Individual Video Playback Pages

Now, to insert the code so that when the thumbnail preview is clicked, we redirect to the corresponding frame to display the video inside the web page container. Right-click on the first preview image/symbol, select Actions, and then enter the following code (or drill through Movie Control to the goto command to insert a gotoAndStop, as you should remember from Lesson 23):

on (release) {
gotoAndStop(#) ;
}

where you replace the # symbol with the number of the frame/page where you want to display the corresponding video (in my case, frame 5).

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 25: Flash for Web Design: Simple Video Imports

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

All rights reserved.