Add video control behaviors

Behaviors let you add complex functionality to your document easily, without having to know ActionScript, the Flash scripting language. You'll now add behaviors for video control.

  1. In the Timeline, click Frame 1 of the Content layer to select it, if it's not already selected.
  2. On the Stage, click the Play button to select it. In the Behaviors panel (Window > Development Panels > Behaviors), click the Add (+) button and select Embedded Video > Play.
  3. In the Play Video dialog box, verify that Relative is selected. Select video, which is the instance name that you gave to the video clip, then click OK.

  4. On the Stage, click the Pause button (the middle button) to select it. In the Behaviors panel, click the Add (+) button and select Embedded Video > Pause.
  5. In the Pause Video dialog box, again select the video movie clip, then click OK.
  6. On the Stage, click the Rewind button to select it. In the Behaviors panel, click the Add (+) button and select Embedded Video > Rewind.
  7. In the Rewind Video dialog box, select video.
  8. In the Number of Frames to Step Back text box, enter 20.

    The Number of Frames to Step Back text box indicates how many frames the playhead should move back when the user clicks the Rewind button.

    Note: Additional video control behaviors let you fast-forward, hide, pause, and show a video.