Lesson 3

Add Video

 

OBJECTIVE:

In this lesson, you will import a video, add actions to video control buttons, and then synchronize sound to a video clip.

 

Lesson:  Import a video

  1. Open fl5_3.fla from the Digital Design folder on the server
  2. Save it as Fl_C5_L3_fireworks_your username – the movie has four layers and 85 frames – the actions layer has a stop action in frame 1 – the heading layer contains the text object – the controls layer contains start and stop buttons that will be used to control the video – the background layer contains a blue gradient background object – the Library panel contains the two buttons symbols and a sound file as well as graphics and movie clip files
  3. Insert a new layer above the controls layer, name it video, then click frame 1 on the video layer
  4. Click File on the menu bar, point Import, then click Import Video – the Import Video Wizard begins by asking for the path to the video file and the desired method for importing the file
  5. Click the Embed FLV in SWF and play in timeline option button
  6. Click Browse, navigate to the Digital Design folder on the server, click fireworks.mov, then click Open – a message appears indicating that the video format is not valid for embedding video – you must convert the file to the FLV format
  7. Click OK, then click the Launch Adobe Media Encounter button [Note:  If a message about browsing to the file after it is converted opens, click OK – after several moments the encoder opens [Note:  Click the Adobe Media Encoder button on the taskbar if the encoder does not open automatically in its own window]
  8. Click Start Queue, when the process is done as indicated by a green check mark, close the encoder window
  9. Click OK to close the message window if one opens, then click the Browse button
  10. Click fireworks.flv, then click Open – the Select Video screen now displays the path to the fireworks.flv file
  11. Click Next in the Wizard – the Embedding window opens, which allows you to specify how you would like to embed the video
  12. Choose the following settings:  Symbol type – embedded video; check the following boxes for:  Place instance on stage; Expand timeline if needed; and Include audio
  13. Click Next
  14. Read the Finish Video Import screen, then click Finish – the video is encoded and placed on the Stage and in the Library panel

Summary:  You imported a video and then specified the embed and encoding type.

 

Lesson:  Attach actions to video control buttons

  1. Test the movie, then click the control buttons – nothing happens because there is a stop action in frame 1 and no actions have been assigned to the buttons
  2. Close the Flash Player window
  3. Open the Actions panel
  4. Click the play button on the Stage, then verify the playback – play button symbol appears at the lower left of the Script pane
  5. Turn on Script Assist if it is off
  6. Click the Add a new item to the script button, point to Global Functions, point to Timeline Control, then click play
  7. Click the Stop button on the Stage, then verify the playback – stop button symbol appears at the lower left of the Script pane
  8. Click the Add a new item to the script button, point to Global Functions, point to Timeline Control, then click stop
  9. Close the Actions panel
  10. Test the movie, click the play button, then click the stop button – the video plays, however, there is no sound
  11. Close the Flash Player window

Summary:  You assigned play and stop actions to video control buttons.

 

Lesson:  Synchronize sound to a video clip

  1. Insert a new layer above the video layer, then name it sound
  2. Click frame 1 on the sound layer
  3. Display the Properties panel, then display the SOUND area options
  4. Click the Name list arrow in the SOUND area, then click fireworks.wav
  5. Click the Sync sound list arrow in the SOUND area, click Stream
  6. Test the movie, click the Play button, then click the stop button
  7. Close the Flash Player window, save your work, then close the file

Summary:  You inserted a layer, then you synchronized a sound to the video clip.