• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL

Lesson 20. Synchronizing with Digital Vi... > Using a Transition to Play Over a Di...

Using a Transition to Play Over a Digital Video

Earlier in this lesson, you discovered that Director treats digital video differently than other types of media by adding it as an external file rather than importing it directly into the Director movie. Digital video gets other special treatment as well. To ensure that digital video plays back smoothly and quickly, Director places it directly on the stage, without running it through the analysis it performs for other elements to determine their place in the score's layers. (If you select the digital video in the Cast window and click the Cast Information button, you'll see that the Direct to Stage option is checked.) While this approach has advantages for the digital video's performance, it means that you can't control the placement of a digital video among a Director movie's layers, and it causes complications when you want to apply a special effect, such as a screen transition, only to the digital video. In this task, you will work around these problems by applying a screen transition to a separate element that takes the place of the digital video for the duration of the screen transition.

Move the start of the digital video in channel 2from frame 1to frame 3.

You want the background to appear in frame 1 without the digital video or the placeholder you will be creating.

Double-click the transition channel, frame 2. In the dialog box, choose Center Out, Square, set the duration to 1 second, and select Changing Area Only. Then close the dialog box by clicking OK.

You will apply the transition to the placeholder that you will create next.

Figure .

Select channel 5, frame 2. Then open the tool palette and draw a filled black rectangle that completely covers the digital video.

Figure .

You can estimate the size of the rectangle, or you can set the exact dimensions by selecting the digital video sprite and then choosing Modify > Sprite > Properties. The Property Inspector will show you the exact height and width of the digital video. Then you can select the rectangle sprite, choose Modify > Sprite > Properties, and type the same height and width in the Property Inspector.

Adjust the rectangle sprite in channel 5 to span frames 2 and 3.

This ensures that the rectangle is on the stage long enough for the screen transition to start animating through it. Your completed score should look like this:

Figure .

5Play the movie.

It works! You just applied a screen transition for a digital video by using a special technique: creating a placeholder for the digital video and then applying the transition to it.

Delete the timing information button.

Your movie is complete, so you can delete the timing information button you added as a development tool; you won't need it anymore.

Save your work.



Not a subscriber?

Start A Free Trial

  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint