Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Design > Adobe Creative Suite

  • Print
  • + Share This
Like this article? We recommend

Like this article? We recommend

Incorporating Subtitles

Because almost half of all Web users speak a language other than English, knowing how to add a simple subtitling system to video presentations is a valuable skill. It can be done with the help of a few movie clip symbols and, of course, the text itself. In this section, you use a prefabricated movie clip. The subtitle text has been laid out previously and is stored in a movie clip symbol named Subtitle Text, which is located in the Library's Subtitles Movie Clips folder.

  1. Select the Subtitles layer, drag an instance of Subtitle Text onto the stage, and position it at X: 0, Y: 168.9 (see Figure 9).

  2. Figure 9 Position an instance of the Subtitle Text movie clip on the Subtitles layer.

  3. Open the Instance panel and assign the Subtitle Text clip the instance name Text.

  4. Naming the instance allows for the currently displayed frame—and, therefore, the currently displayed subtitle—to be controlled from the main timeline using Tell Target actions.

    The Subtitle Text movie shouldn't always be visible because the subtitles should be turned off by default and should be able to be toggled on and off by the user.

  5. To achieve this, wrap Subtitle Text in another Movie Clip symbol by selecting it, clicking the Insert menu, and selecting Convert to Symbol: Movie Clip. Name the new Movie Clip Subtitles. When it appears in the Library, drag it into the Subtitles Movie Clip folder. (See Figure 10.)

  6. Figure 10 Convert the Subtitle Text symbol into a movie clip named Subtitles, and then drag it into the Subtitle Move Clips folder in the Library.

  7. Double-click Subtitles in the Library to edit it.

  8. Another way to allow the subtitle text to toggle is to add a blank keyframe in front of the one containing the text, and then add a stop() action to both (see Figure 11). That way, whenever the user clicks the Subtitles Toggle button, Subtitles plays to the next frame. That next frame will either be the one that does show the text or the one that doesn't.

    Figure 11 Add stop() actions to both frames.

  9. To begin, select the first keyframe and drag it to the second frame position. This automatically creates a blank keyframe in position 1; that frame will show by default.

  10. Select each of the two frames, open the Frame Actions panel, and insert this code:

  11. stop();

    It's important to add a stop() action to both frames so that each one will "stick" when it is the currently displayed frame.

  12. Return to the main timeline, select the Subtitles movie clip, and use the Instance panel to name it Subtitles.

  13. The Subtitles are now set up and can be toggled on or off (see Figure 12). But how will the right text be displayed at the right time? This is where the Subtitles Markers layer comes in.

  14. Select the Subtitles Markers layer. Add a blank keyframe to frame 1, and then assign this code to the new keyframe on frame 1 of the Subtitles Markers layer:

  15. TellTarget ("Subtitles/Text") {
    	GotoAndStop (1);
  16. Repeat Step 8 for each of the following Subtitle entries shown in Table 1 (see Figure 13). For example, for the next entry, go to frame 290 on the Subtitles Markers layer, add a blank keyframe, and assign the following code:

  17. TellTarget ("Subtitles/Text") {
    	GotoAndStop (2);
  18. For the entry after that, go to frame 360 on the Subtitles layer, add a blank keyframe, and assign the following code:

  19. TellTarget ("Subtitles/Text") {
    	GotoAndStop (3);

Table 1 Subtitle Frame Numbers

Frame to Select on the Subtitles Markers Layer

Number to Assign the GotoAndStop Line































Figure 12 The subtitles are already built into the Subtitle Text movie clip.

Figure 13 Assign the TellTarget commands to each of the indicated frames.

  • + Share This
  • 🔖 Save To Your Account