What's New in QuickTime 5
| Previous | Chapter Contents | Chapter Top | Next |
The script droplet relies on preferences, set by the user, to locate and manipulate the essential files. This particular script is designed to look for the various image files in the same folder as the droplet. If the essential image files are not in the same folder as the script, the script will not execute.
You can make copies of this droplet to be placed in other folders containing your various media skin files. You set the preferences for each droplet to work with its neighbor files.
To set the preferences for the droplet, you double-click its icon in the Finder to summon the status dialog ( Figure 19 ). The dialog shows the current settings for the various script preferences. Click the "Set Prefs" button to set each of the script preferences.
Figure 19 The status dialog to set preferences
The first three preferences are for identifying the image files to be used by the script when constructing the media skin movie.
In the first dialog ( Figure 20 ), enter the name of the image file which will be used as the media skin background. You may either enter the name in the input field or click the "Choose File" button to locate the appropriate file. The script will then place the name of the chosen file in the input field for you.
Figure 20 The name of the image file dialog
After you have entered the name of the appropriate media skin image file ( Figure 21 ), click the "OK" button to proceed.
Figure 21 Entering the name of the appropriate media skin image file
You repeat this process in the forthcoming dialogs for identifying the window mask image and the drag mask image.
After inputting the names of the other files, two successive dialogs appear, asking you to enter the offset to be used to position the video track against the chosen media skin background. These measurements depend on the design of your media skin.
In the first dialog ( Figure 22 ), you enter the horizontal offset (in pixels) from the left of the media skin image to the left of the video display area.
Figure 22 The horizontal offset dialog
In the second dialog ( Figure 23 ), you enter enter the vertical offset (in pixels) from the top of the media skin image to the top of the video display area.
Figure 23 The vertical offset dialog
The next dialog ( Figure 24 ) determines if you want the media skin image to be placed behind the source video or in front of the source video. Media skin images placed over the source video must have areas of a solid color that will be made transparent during the creation of the skinned movie.
Figure 24 The dialog that asks if you want the media skin placed behind the source video or in front of it
If you clicked the "Yes" button, a list dialog ( Figure 25 ) appears from which you can choose the color which the script will make transparent. If your overlay color is not in the list, you may enter its RGB values individually by clicking the "Other" button at the bottom of the list dialog.
Figure 25 A list dialog that lets you choose the color that script makes transparent
If you clicked the "Other" button, a series of three dialogs will prompt you for each of the RGB values for the color to be made transparent. Each color is specified as a list of individual Red, Green, and Blue values: {Red value, Green value, Blue value}. Each individual RGB color component is an integer between 0 and 65535, with 0 being the minimum and 65535 being the maximun value.
For example, White is {65535, 65535, 65535}, Black is {0, 0, 0}, 100% Red is {65535, 0, 0}, 50% Gray is {32768, 32768, 32768}, etc. Note that the values you enter in these dialogs must exactly match those of the area in the overlay image that is meant to be transparent.
Figure 26 One of three dialogs that prompt you for each of the RGB values for the color to be made transparent, in this case the Red component
The final two preference dialogs are for setting the playback properties.
Click the "Yes" button if you want the movie to automatically start playing when opened.
Click the "Yes" button if you want the movie to automatically close when it has finished playing.
Figure 28 Another preference dialog
After setting the property, the script will return to the status dialog ( Figure 29 ). Click the "Done" button to exit the script.
If the media skin image is set to overlay, the operation color name or value will be displayed in the status dialog ( Figure 30 ).
Figure 30 The color name or value displayed in the status dialog
What's New in QuickTime 5
| Previous | Chapter Contents | Chapter Top | Next |