1. Home
  2. Computing & Technology
  3. Animation

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

By , About.com Guide

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

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

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

All rights reserved.