The Flash video format allows developers to create impressive presentations and films with a file size that is only possible through the use of vector graphics. Macromedia Studio MX 2004, which includes Flash MX, is the leading development suite for creating such movies. While Flash was originally developed for use in web pages, its compatibility with a variety of formats has made it useful outside of the web browser.
This tutorial will show you how to create an animated composite motion image using Macromedia Flash MX 2004. In this type of image, each frame of the movie clip leaves behind a "ghost" showing the position of an object at that moment in time.
Note: Flash has a maximum frame rate of 120 frames/second. If the frame rate of your original video clip is higher than that speed, you should adjust the frame rate of the Flash video so that the original frame rate is a multiple of the Flash frame rate.
For example, if the original video clip has a frame rate of 500 frames/second, you should set the Flash frame rate to 100 frames/second. In this case, you would treat each single frame in Flash as if it were five frames in the original video clip.
Note: If the frame rate of the Flash project and the frame rate of the original video clip are not equal, you will need to multiply (or divide, in some cases) the Flash frame number by a given factor to determine the corresponding frame number in the original video clip.
In the example used earlier, since the Flash movie has 1/5 the frame rate of the original clip, we would need to multiply the Flash frame number by 5 to obtain the original frame number.
The Trace Bitmap window will appear.
If the image you are using has a low contrast between the background and the foreground, type a value around 10 or 15 in both the Color Threshold and Minimum Area text boxes. For higher contrast images, values between 25 and 30 will work.
If you the image is detailed or complex, choose Tight or Very Tight from the Curve Fit drop-down menu, and then choose Many corners from the Corner Threshold menu. For simpler images, choose Smooth and Few Corners, respectively.
Verify the choices you have made, and click the OK button.
Note: To make the new image easier to see, you may want to hide the
background. To do this, click the black dot under the
icon in the upper-left corner of the timeline. It should change to a
,
and the video background should no longer be visible in your workspace. To
make it visible again, click the
that just appeared.
Under the same Options heading where you chose the shape of your eraser, click the
button to activate the Faucet tool. To use this tool, click on any solid area of color in your frame to erase it. Do this repeatedly to remove as many large areas of color as you can.
Your cursor will take the shape of whatever eraser you have chosen. Move your cursor over your image, and - while holding the left mouse button down - "brush" over the areas that you wish to erase. Those areas will turn white. Upon letting go of the mouse button, the areas that you have erased will be smoothed out automatically. To erase narrower areas, switch to a smaller brush size or a different shape.
Using a combination of these two techniques, erase as much of the background as possible from your image so that only the object of focus is visible.
Note: If you have hidden the background to help you edit the image, now would be a good time to make it visible again.
Note: If you would like to add additional moving images to the current frame in your composite, re-open the original image in your image editor, and repeat steps 6-17 for the new object of focus.
The options that appear will differ for each of the formats to which you export.
From the Load Order: drop-down menu, choose Bottom Up to ensure that the background of your movie loads before the individual frames.
Under the Options: heading, uncheck all options except Compress Movie, which will help the composite load faster if you embed it in a web page.
Type 100 in the JPEG Quality: text box to preserve the quality of each of your frames.
If your background movie contains audio that you want to preserve, the default options for Audio Stream: are sufficient. Otherwise, click the Set to display the Sound Settimgs dialog box, and choose Disable from the Compression: drop-down menu. Click OK to return to the main settings screen.
Repeat the previous step for the Audio Events: setting.
From the Version: drop-down menu, choose the latest version of Flash, i.e. the version with the highest number.
Verify all the selections you have made, and click the OK button.
In the Dimensions: text boxes, type the original size of the Flash movie you created, or - if you would like to shrink or enlarge the video - type the desired size. Keep the Maintain aspect ratio box checked.
Choose the color depth of your composite using the Video Format: drop-down menu. More bits equates to more colors which equates to higher quality video at the expense of file size. In most cases, 16-bit color is sufficient, but for high-quality clips, a more detailed setting may produce better results.
If you would like to lower the file size of the final composite at the expense of some video quality, check the Compress video box.
If you would like to smooth out the edges of your composite movie, check the Smooth box to soften the overall look of the video in motion. This may, in some cases, cause a faint halo to appear around high-contrast boundaries.
Using the Sound format: drop-down menu, choose an option for the type of sound to be exported from your composite. Lower-quality options appear at the top of the list, while higher-quality options appear at the bottom of the list. As always, higher-quality sampling increases file sizes. If your composite movie does not feature any sound, choose the Disable option.
Verify all the selections you have made, and click the OK button.
Check the Match Movie box if you would like the size of the exported movie to match that of the original movie. If you would like the exported movie to be of a different size, uncheck that box, and enter the desired size in the Dimensions: text boxes.
Set the Alpha: and Layer: drop-down menus to Auto.
Uncheck the Use QuickTime Compression box.
Choose None from the Controller: drop-down menu.
Under the Playback: heading, check Loop if you would like the composite to play repeatedly after you open it. Check Paused at Start if you would like the movie to be frozen on the first frame until you hit the Play button. Because of the nature of composite motion video, check the Play every frame box.
Check the Flatten box to make your exported video self-contained.
Verify all the selections you have made, and click the OK button.
The default settings for creating an image sequence are sufficient in most cases, since they default to the settings that you use when making your composite. Simply click OK in the dialog box that appears to complete the process.
Note: Creating an Animated GIF (*.gif) or a GIF Sequence (*.gif) is not recommended since these image formats limit the maximum number of colors that the image can use, which will severely lower the quality of the final composite. However, if you require these formats, the default settings will suffice.