Flash Templates

Flash Templates Today
Web Sites
Free Shape
Photoshop Tutorials
Flash Tutorials

Free Website Templates
View All Templates!
Preview & Download
Preview & Download
Recommended Hosting:
Host Unlimited Domains on 1 Account
1500GB storage and 15000GB bandwidth for $6.95/mo!
Recommended Hosting:
Host Unlimited Domains on 1 Account
1500GB storage and 15000GB bandwidth for $6.95/mo!
Free Website Templates: 123456789101112131415
Preview & Download Preview & Download Preview & Download

Welcome To MyFreeWebTemplates.info Flash Tutorials Area - Integrating Video in a Flash Movie

thumb Want to integrate video in your Flash movie? You have two choices. You can embed the video in your Flash document, or keep progressively download it into a SWF file using from a FLV (Flash Video) file. In this tutorial you'll learn to use the Media Playback Component to display a FLV file in a Flash movie.

step 1

STEP 1 Creating Flash Video

There are several ways you can create FLV files. Both Flash MX 2004 standard and Professional allow you to export video as an FLV. If you own Flash MX Professional, you can use the Flash Video Exporter plug-in that came with the Flash installer. The exporter works with a variety of video-editing and encoding programs such as QuickTime Pro. The third, and best way is to use Sorenson Squeeze. This third-party product uses a 2-pass compression which usually creates a higher quality video and smaller file size than the first two options.

The following instructions are for creating FLV via the standard and professional versions of Flash MX 2004. This method creates the poorest quality of video, but is available to all MX 2004 users.

First, create a new folder, then create and save a new Flash document. Next, choose File > Import > Import to Library. Locate the QuickTime movie you wish to import. The video Wizard will open. Click Import. Click the Embed video in Macromedia Flash document radio button. Click the Next button. Click the Import the entire video radio button. Click the Next button.

step 2

STEP 2 Creating Flash Video, cont.

The next two screens allow you to customize how you want to compress your video. From the Compression profile menu choose DSL/Cable 256 kbs. Choose Create a new profile from the Advanced settings menu. In the Encoding Advanced settings screen set the scale for the video. In the example, I set the Scale to 60%. Then click the Next button. Enter a name and description for the new preference in the next screen. Click the Next button. You will return to the Encoding screen, click the Finish button.

step 3

STEP 3 Creating Flash Video, cont.

Once the video has been imported it will appear in the Library. Open the Library. Right-click or Ctrl + click the video Symbol. Choose Properties from the context menu. The Embedded Video Properties dialog window will open. Click the Export button.

step 4

STEP 4 Creating Flash Video, cont.

In the Save As window enter a name for the video. Save the video in same folder as your Flash document. Click Save. After the video is saved, the Embedded Video Properties window will reappear. Click OK. Delete your movie from the Library.

step 5

STEP 5 Adding the MediaPlayback Component

Open the Components panel by choosing Window > Development Panels > Components. Drag the MediaPlayback component onto the Stage.

step 6

STEP 6 Setting the MediaPlayback properties and parameters

Select the MediaPlayback instance on the Stage. In the Properties inspector enter Video in the Instance name field. Enter the dimensions of your video in the width and height field.

step 7

STEP 7 Setting the MediaPlayback parameters

Click the Parameters tab in the Properties inspector. Click the Launch Component Inspector button. The Component Inspector panel will open.

step 8

STEP 8 Setting the MediaPlayback parameters

Click the FLV radio button. Choose the Frame Rate for the playback of the video from the FPS menu. Enter the name of the FLV file in the URL field. If you saved your FLV file outside of the folder containing your Flash document, you must specify the path. Check the following:

Automatically Play
Use Preferred Media Size
Control Placement: Bottom
Control Visibility: On

step 9

STEP 9 Test/Publish your movie.

Choose Control > Test Movie, or Command + return to publish your movie. The movie will automatically begin to play. You can use the controls to pause, start and rewind your movie. Pretty simple! Now lets add a little magic and make the controller only appear when you roll over the video.

step 10

STEP 10 Changing the MediaPlayback parameters

Return to your Flash document. In the MediaPlayback Component inspector, uncheck Automatically Play and change the Control Visibility Setting to Auto. Test your movie. Roll your mouse over the video and the the controller will appear. Press play, and roll your mouse off the controller. The video will continue playing and the controller will disappear.

Courtesy of Layers magazine. <

Illustrator Tutorials
HTML Tutorials
Flash Templates
Free Web Templates
Free Website Templates
Free Flash Templates
Web Templates Forum
Welcome to MyFreeWebTemplates.info we have a collection of Free Templates available for download created by designers from around the globe. Our collection is growing daily so be sure to check back often for more Free Templates. If you can't find a Free Template that suits your needs, we may offer you many professional web templates and flash web templates.

Website templates are pre-made website designs that you can customize and personalize to suit your company's image.You can save time and money by using website templates for your design project.
All Rights Reserved 2007-2008 by MyFreeWebTemplates.info