1. Computing & Technology

Discuss in my forum

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

©2012 About.com. All rights reserved.

A part of The New York Times Company.