PHOTOGRAPHERSONLINEPROOFING.COM

child proof safety - www.photographersonlineproofing.com

Menu


Encoding Options If you're converting a video file to FLV format, you'll have several encoding options. Encoding profiles contain settings


optimized for specific versions of Flash Player and for different download speeds. When you select a profile, a summary of its settings appears. You can customize those settings by clicking the Video or Audio tab and selecting a different option. Skinning Options The video's skin determines the look and feel of the controls, and their position on the Stage. Select a skin to see a preview of its appearance. You can design a custom skin in Flash, save it as an SWF file, and link to it from the Skinning window of the Import Video wizard. Controlling the Video Playback The FLV playback component lets you control which video plays, whether the video plays automatically, and other aspects of playback. You'll turn autoplay off for the initial penguin movie, so that it doesn't begin playing until the viewer presses the Play button. Then you'll change the FLV playback component options at different frames to play the appropriate movies for each button, and to turn autoplay on, so that the movies start playing immediately when the button is pressed. 1. Select the video component on the Stage. 2. Click the Parameters tab in the Property inspector. In the Parameters panel, change the autoPlay parameter to false. [View full size image] 3. Test the movie again. The penguin video doesn't begin playing until you press the Play button. 4. Select frame 10 of the Video Player layer, and press F6 to insert a keyframe. 5. Select the FLV playback component on the Stage. In the Parameters panel, change the autoPlay parameter to true. Note In the final movie, when you click the penguin button, the script will move to frame 10 in the Timeline, and the movie will play immediately. 6. Select frame 20 of the Video Player layer, beneath the mandrill frame label. Press F6 to insert a keyframe. 7. Select the FLV playback component on the Stage. In the Parameters panel, click the source parameter. In the box next to it, click the magnifying glass icon. [View full size image] 8. In the Content Path dialog box, click the folder icon, select the Mandrill.flv file in the Lesson09/09Start folder, and click Open. Then click OK to close the Content Path dialog box. Note The autoPlay parameter should already be set to true because the keyframe has the properties of the previous keyframe. 9. Select frame 30 of the Video Player layer, press F6 to insert a keyframe, and change the source parameter to the Tiger.flv file. 10. Select frame 40 of the Video Player layer, press F6 to insert a keyframe, and change the source parameter to the Lion.flv file. Scripting Video Buttons