Dreamweaver Tutorials

Get Started in Dreamweaver: Define a new or existing Web site

Find out how easy it is to register a domain name

Designing with CSS

When using CSS, What Selector Type Should You Use?

Customize a CSS Layout in Dreamweaver CS3

Align Images with CSS in Dreamweaver

Create a Navigation Bar with an Unordered List and CSS

Compare Layout Options: Tables, Layers, or CSS

Make your site accessible to all your visitors

Where to learn advanced CSS tips and tricks

AJAX and Spry

Create Collapsible Panels with AJAX using Spry

Adding a Drop-Down Menu with Ajax using the Spry features in Dreamweaver CS3

Working with Multimedia

Insert a Flash File using Dreamweaver CS3

Insert a Flash Video File

Convert Video into Flash with the Flash Video Encoder

Using Behaviors

Use Swap Image Behavior to Create Multiple Rollovers

Swap Image Behavior

Use a Behavior to Launch a New Browser Window

Add new features to Dreamweaver with Extensions

Connect an HTML Form to a Script in Dreamweaver

More Resources

Cool online tools you can use on your Web site

Comparing Web design programs and technologies

Video Training

Discover how training videos make learning fun and easy!

Dreamweaver FAQ

Get answers to your questions, and maybe even a few you hadn't thought of yet, in the Dreamweaver FAQ

Total Training Videos

 

Partners and sponsors

Total Training Online Software Training - Try it Now Get Free Access

Dreamweaver FAQ

Get answers to your questions, and maybe even a few you hadn't thought of yet, in the Dreamweaver FAQ.

Dreamweaver CS3 advertisement CS3-DW-125x125

Free Greeting Card, Expires 2-27-07

Trusted by over 7 million customers!

Total Training

IX Web Hosting ad

Inserting Flash Video with Dreamweaver CS3

BY JANINE WARNER

Inserting Flash ViideoThe day that everyone has long predicted arrived. Video is no longer a novelty online and Flash video has become the darling of the Web, favored by video giants YouTube and Google Video, as well as a growing number of Web designers. What makes Flash so special? Not only does it combine good quality with great compression, it comes with a video player that is already in use by 95% of Web surfers.

In this column, you discover just how easy it is to convert video to Flash, get a look at how the well-integrated programs in Adobe CS3 Production Premium make it easy to get your video ready for the Web. And, once your video is ready, just follow the step-by-step instructions in this column to add the file to a Web page with Dreamweaver.

Partners and sponsors

Order Your Dreamweaver Training Video Today!

Step 1 Edit Your Video in Premiere

Adobe Premiere CS3 is a professional video editing tool capable of handling a wide range of video formats. Create a new project, load in your video, and you’ll find all the features you need to edit, enhance, cut, and create transitions for your video.
—Video by—Total Training

[DW-CS3-FlashVideo-01.tiff]

STEP 2 Clean up the Audio in Soundbooth

If you want to improve the sound quality of your video, add audio tracks, or other sound effects, open your video file in Soundbooth and you can adjust sound levels, clean up noise, and choose from a wide range of filters to enhance and alter sound quality. The compression you do to video before you put it on the Web can have a negative effect on sound quality, so it’s a good idea to start with a video file that sounds as good as possible.

STEP 2 Clean up the Audio in Soundbooth

STEP 3 AfterEffects

If you want to really dress up your video, add special effects, or apply any of a wide range of filters to your video, your next step is to open your video in AfterEffects. The learning curve on AfterEffects is steep, but you can use this program to make dramatic changes to video and create amazing special effects. Hollywood’s got nothing on you, kid.

STEP 3 AfterEffects

STEP 4 Flash Video Encoder

Finally, you need to optimize your video and convert it to the Flash Format, and the best way to do that is with the Flash Video Encoder. You’ll find many settings as you go through the conversion process, but the basic principal is similar to optimizing an image, you want the lowest settings for the fastest download speed, but you have to balance those against the impact on quality. (You find more detailed instructions for using the Flash Video Encoder in my Flash Video Encoder tutorial.)

STEP 4 Flash Video Encoder

STEP 5 Open or Create a Page in Dreamweaver

Once your video is in Flash format, launch Dreamweaver and create a new page or open an existing one. Format the page as you would any other page and make sure to save it before you add your video.

STEP 5 Open or Create a Page in Dreamweaver

STEP 6 Insert Flash video file

Click to insert the cursor where you want the Flash video file to appear and select Common from the Insert bar, if it isn’t already selected. From the Media drop-down list in the middle of the Common Insert bar, choose Flash Video. You can also choose Insert>Media>Flash Video.

Flash video file

STEP 7 Specify Settings

At the top of the Insert Flash Video dialog box, specify streaming or progressive. Note that you must have special software on your server for streaming video. Check with your Internet hosting service or system administrator to find out whether your Web server supports streaming Flash files. If not, choose progressive. Then click the Browse button and select the Flash file from your hard drive. If the file is not in your site root folder, Dreamweaver will offer to copy it there for you. This is important because the Flash file must be uploaded to your Web server when you upload the page that displays the file.

STEP 7 Specify Settings

STEP 8 Choose a Skin for the Player

Choose a Skin from the drop-down list. Dreamweaver calls the controls for a Flash file a skin. As you can see in this figure, a preview of the selected skin is displayed in the dialog box when a skin is selected. You can choose from the nine screens that come with Dreamweaver and you can add new skins created in Adobe Flash.

STEP 7 Specify Settings

STEP 9 Set Size, Autoplay, and Rewind

Click the Detect Size button and Dreamweaver will automatically insert the height and width of the Flash file in the HTML code. If you want the Flash video to play as soon as the page is loaded, click to select the Auto Play check box. To automatically rewind the video after it has played, select the Auto Rewind check box.

STEP 9 Set Size, Autoplay, and Rewind

STEP 10 Prompt Users to Download Player

The Prompt Users to Download Player If Necessary option creates a message that is displayed on your page if visitors to your site do not have the Flash player installed. You can edit the message in the Message box if you want to change the words. For example, you might use something like: “Join the modern world -- get the latest Flash player already!”

STEP 10 Prompt Users to Download Player

STEP 11 Complete Flash Video Insertion

Click OK to insert the Flash file and close the dialog box. The Flash file is represented in the Web page by a box that is the height and width of the video. Click on the box the represents the video and in the Property inspector at the bottom of the workspace, you can make further adjustments to the settings, such as choosing a different skin for the player.

STEP 11 Complete Flash Video Insertion

STEP 12 Verify Scripts Folder

When you insert a Flash video file with a skin, Dreamweaver creates a Flash file with the .swf extension and saves it in your root site folder. This Flash file contains the player controls. In this figure, you can see the file called Halo_Skin_3.swf which contains the skin. Similarly, when you save the page, Dreamweaver automatically creates a special script that helps the file play better in some Web browsers. That script is saved into a folder called Scripts. Both the Scripts folder and the .swf file with the player must be uploaded to your Web site when you publish the page in order for the video to display properly.

STEP 12 Verify Scripts Folder

STEP 13 Preview the Page in a Browser

To view the Flash video, you need to preview the page in a Web browser. You can do that by clicking on the Preview button at the top of the workspace or by choosing File>Preview in Browser and then choosing a browser from the drop down list. You must have the Flash player installed on your computer to view the Flash video. (Note: the Flash skin, which contains the play, pause, and other controls, becomes visible when you roll your cursor over the bottom of the video.)

STEP 13 Preview the Page in a Browser

STEP 14 Learn more about Flash Parameters

To learn out more about Flash video parameters and other more advanced settings, visit www.Adobe.com and search for Flash video.

STEP 14 Learn more about Flash Parameters

This tutorial was originally written for Layers Magazine in Jan. 2008.

Partners and sponsors

Shutterfly.com