Adding Captions to Flash Video

This example demonstrates how to use actionscripting to add captions to any flash video (.flv) file.

Step 1: Actionscripting for timing the captions using frame 1 of scene 1. Download a text file of the actionscripting code.

screen shot of actionscripting code

 

Step 2: Add your video controller

Drag a media controller onto the stage from the Components Toolbox.

Name MediaControler. (in this example, we'll use myMediaControl5)

Do not use Component Inspector to call the movie. (The actionscript will call the movie)

screen shot of adding the control bar to the stage

 

Step 3: Add Actionscript to Media Display

Select your Media Controller (in this example we select "myMediaControl5)

Add the following code to your Media Controller. Download a text file of the code.

screen shot of actionscripting code

Step 4: Creating Movie Clip with Caption Text

Create a movie clip symbol.
screen shot of movie clip symbol

Frame 1 add a stop action and leave this frame blank.
Begin your captions on frame 2, unless you have text you would like to show at the start.

For each section of the caption, create a new keyframe on the next frame.

Place movie clip into your movie.

-=--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

 

This tutorial created by Andy Greer,ITS Enterprise Information Services - Web Technologies Team
Actionscripting by Rolando Lopez.