Top Banner
Embedding Flash Embedding Flash Video Video Capitulo 7 Capitulo 7 Classroom in a book Classroom in a book p.277 p.277
35
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Embedding flash video

Embedding Flash Embedding Flash VideoVideoCapitulo 7Capitulo 7

Classroom in a bookClassroom in a bookp.277p.277

Page 2: Embedding flash video

Embedding Flash VideoEmbedding Flash Video Embedded video is best for short Embedded video is best for short

clips that you want to integrate with clips that you want to integrate with other Flash elements. Embedded other Flash elements. Embedded video requires the FLV format. video requires the FLV format.

The FLV file is saved in the Library of The FLV file is saved in the Library of your Flash file, where you can place your Flash file, where you can place it on the Timeline and synchronize it it on the Timeline and synchronize it with other animations or graphics.with other animations or graphics.

Page 3: Embedding flash video

Embedding Flash VideoEmbedding Flash Video Embedding video in Flash is Embedding video in Flash is

supported by Flash Player versions 6 supported by Flash Player versions 6 and later. Keep in mind the following and later. Keep in mind the following limitations of embedded video: Flash limitations of embedded video: Flash cannot maintain audio cannot maintain audio synchronization in embedded video synchronization in embedded video that runs over 120 seconds.that runs over 120 seconds.

Page 4: Embedding flash video

Embedding Flash VideoEmbedding Flash Video The maximum length of embedded The maximum length of embedded

movies is 16,000 frames. Another movies is 16,000 frames. Another drawback of embedding your video is drawback of embedding your video is the increase in the size of your Flash the increase in the size of your Flash project, making testing the movie project, making testing the movie (Control > Test Movie) a longer (Control > Test Movie) a longer process and the authoring sessions process and the authoring sessions more tedious.more tedious.

Page 5: Embedding flash video

Embedding Flash VideoEmbedding Flash Video Because the embedded FLV plays Because the embedded FLV plays

within your Flash project, it is within your Flash project, it is critically important that your FLV critically important that your FLV have the same frame rate as your have the same frame rate as your Flash file. Flash file.

If not, your embedded video will not If not, your embedded video will not play at its intended speed.play at its intended speed.

Page 6: Embedding flash video

Embedding Flash VideoEmbedding Flash Video To make sure your FLV has the same To make sure your FLV has the same

frame rate as your FLA, be sure to frame rate as your FLA, be sure to set the correct frame rate in the set the correct frame rate in the Video tab of the Adobe Media Video tab of the Adobe Media Encoder.Encoder.

Page 7: Embedding flash video

Encoding the FLV for Encoding the FLV for EmbeddingEmbedding

Capitulo 7Capitulo 7Classroom in a bookClassroom in a book

p.278p.278

Page 8: Embedding flash video

Encoding the FLV for Encoding the FLV for EmbeddingEmbedding

You’ll embed a short video of a polar You’ll embed a short video of a polar bear in the beginning of your zoo bear in the beginning of your zoo kiosk project.kiosk project.

Page 9: Embedding flash video

Encoding the FLV for Encoding the FLV for EmbeddingEmbedding

1 1 Open the Adobe Media Encoder.Open the Adobe Media Encoder.2 2 Click the Add button and choose the Click the Add button and choose the

polarbear.mov file in the polarbear.mov file in the Lesson07/07Start folder.Lesson07/07Start folder.

Page 10: Embedding flash video

Encoding the FLV for Encoding the FLV for EmbeddingEmbedding

The polarbear.mov file is added to The polarbear.mov file is added to the queue.the queue.

Page 11: Embedding flash video

Encoding the FLV for Encoding the FLV for EmbeddingEmbedding

3 3 Click Preset to open the Edit Export Click Preset to open the Edit Export options. Click the Format tab and options. Click the Format tab and select FLV.select FLV.

Page 12: Embedding flash video

Encoding the FLV for Encoding the FLV for EmbeddingEmbedding

4 4 Click the Video tab and set the Click the Video tab and set the Frame Rate to 12. Make sure that the Frame Rate to 12. Make sure that the Resize Video checkbox is unchecked.Resize Video checkbox is unchecked.

Page 13: Embedding flash video

Encoding the FLV for Encoding the FLV for EmbeddingEmbedding

The Flash file 07_workingcopy.fla is The Flash file 07_workingcopy.fla is set at 12 frames per second, so you set at 12 frames per second, so you want your FLV to also be at 12 want your FLV to also be at 12 frames per second.frames per second.

Page 14: Embedding flash video

Encoding the FLV for Encoding the FLV for EmbeddingEmbedding

5 5 Deselect Export Audio at the top of Deselect Export Audio at the top of the dialog box. Click OK.the dialog box. Click OK.

Page 15: Embedding flash video

Encoding the FLV for Encoding the FLV for EmbeddingEmbedding

6 6 Click Start Queue to encode your Click Start Queue to encode your video. The polarbear.flv file is video. The polarbear.flv file is created.created.

Page 16: Embedding flash video

Embedding an FLV on Embedding an FLV on the Timelinethe Timeline

Capitulo 7Capitulo 7Classroom in a bookClassroom in a book

p.279p.279

Page 17: Embedding flash video

Embedding an FLV on the Embedding an FLV on the TimelineTimeline

Once you have an FLV, you can Once you have an FLV, you can import it into Flash and embed it on import it into Flash and embed it on the Timeline.the Timeline.

1 1 Open the file 07_workingcopy.fla.Open the file 07_workingcopy.fla.

Page 18: Embedding flash video

Embedding an FLV on the Embedding an FLV on the TimelineTimeline

2 2 Select the first frame of the popup Select the first frame of the popup video layervideo layer

Page 19: Embedding flash video

Embedding an FLV on the Embedding an FLV on the TimelineTimeline

3 3 Choose File > Import > Import Choose File > Import > Import Video. In the Import Video wizard, Video. In the Import Video wizard, select On Your Computer and click select On Your Computer and click Browse or Choose. Select the Browse or Choose. Select the polarbear.flv file in the polarbear.flv file in the Lesson07/07Start folder and click Lesson07/07Start folder and click Open.Open.

Page 20: Embedding flash video

Embedding an FLV on the Embedding an FLV on the TimelineTimeline

4 4 In the Video Import wizard, select In the Video Import wizard, select Embed FLV in SWF and play in Embed FLV in SWF and play in timeline.timeline.

Click Next or Continue.Click Next or Continue.

Page 21: Embedding flash video

Embedding an FLV on the Embedding an FLV on the TimelineTimeline

5 5 Deselect Expand timeline if needed Deselect Expand timeline if needed and deselect Include audio. Click and deselect Include audio. Click Next or Continue.Next or Continue.

Page 22: Embedding flash video

Embedding an FLV on the Embedding an FLV on the TimelineTimeline

6 6 Click Finish to import the video.Click Finish to import the video. The video of the polar bear appears The video of the polar bear appears

on the Stage.on the Stage.

Page 23: Embedding flash video

Embedding an FLV on the Embedding an FLV on the TimelineTimeline

The FLV also The FLV also appears in your appears in your Library.Library.

Page 24: Embedding flash video

Embedding an FLV on the Embedding an FLV on the TimelineTimeline

7 7 Choose Control > Test Movie to see Choose Control > Test Movie to see the embedded video file play from the embedded video file play from frame 1 to frame 35.frame 1 to frame 35.

Page 25: Embedding flash video

Embedding an FLV on the Embedding an FLV on the TimelineTimeline

Note: Note: You will not be able to hear You will not be able to hear audio in the authoring environment audio in the authoring environment for embedded videos containing for embedded videos containing sound. To hear the audio, you must sound. To hear the audio, you must choose Control > Test Movie.choose Control > Test Movie.

Page 26: Embedding flash video

Using Embedded Using Embedded VideoVideoCapitulo 7Capitulo 7

Classroom in a bookClassroom in a bookp.281p.281

Page 27: Embedding flash video

Using Embedded VideoUsing Embedded Video It’s useful to think of embedded video as a It’s useful to think of embedded video as a

multiframe symbol, very much like a multiframe symbol, very much like a symbol with a nested animation. symbol with a nested animation.

You can convert an embedded video to a You can convert an embedded video to a movie clip symbol, and then motion tween movie clip symbol, and then motion tween it to create interesting effects.it to create interesting effects.

Next, you’ll apply a motion tween to the Next, you’ll apply a motion tween to the embedded video so it fades out just before embedded video so it fades out just before the zoo director pops up and speaks.the zoo director pops up and speaks.

Page 28: Embedding flash video

Using Embedded VideoUsing Embedded Video1 1 Select the embedded video on the Select the embedded video on the

Stage, right-click/Ctrl-click it, and Stage, right-click/Ctrl-click it, and selectselect

Create Motion Tween.Create Motion Tween.

Page 29: Embedding flash video

Using Embedded VideoUsing Embedded Video2 2 Flash asks to convert the embedded Flash asks to convert the embedded

video to a symbol so it can apply a video to a symbol so it can apply a motion tween. Click OK.motion tween. Click OK.

Page 30: Embedding flash video

Using Embedded VideoUsing Embedded Video3 3 Flash asks to add enough frames Flash asks to add enough frames

inside the movie clip symbol so that inside the movie clip symbol so that the entire video can play. Click Yes.the entire video can play. Click Yes.

A motion tween is created on the A motion tween is created on the layer.layer.

Page 31: Embedding flash video

Using Embedded VideoUsing Embedded Video4 4 Select the motion tween and click Select the motion tween and click

the Motion Editor tab.the Motion Editor tab.5 5 Collapse all the property categories. Collapse all the property categories.

Click the Plus button next to Color Click the Plus button next to Color Effect and choose Alpha.Effect and choose Alpha.

Page 32: Embedding flash video

Using Embedded VideoUsing Embedded Video6 6 Select frame 25, right-click/Ctrl-click, Select frame 25, right-click/Ctrl-click,

and choose Add Keyframe.and choose Add Keyframe. An Alpha keyframe appears at frame An Alpha keyframe appears at frame

25.25.

Page 33: Embedding flash video

Using Embedded VideoUsing Embedded Video7 7 Select frame 30, right-click/Ctrl-click, Select frame 30, right-click/Ctrl-click,

and choose Add Keyframe.and choose Add Keyframe. An Alpha keyframe appears at frame An Alpha keyframe appears at frame

30.30.

Page 34: Embedding flash video

Using Embedded VideoUsing Embedded Video8 8 Select the last keyframe at frame 30 Select the last keyframe at frame 30

and drag it down to 0%.and drag it down to 0%. The Alpha is set to 0% at the last The Alpha is set to 0% at the last

keyframe so the embedded video keyframe so the embedded video fades out from frame 25 to frame 30.fades out from frame 25 to frame 30.

Page 35: Embedding flash video

Using Embedded VideoUsing Embedded Video9 9 Choose Control > Test Movie to see Choose Control > Test Movie to see

the embedded video play and fade the embedded video play and fade out.out.