Arguments
templateFile, templateParams, swfFileName, {gifFileName}, {pngFileName},
{jpgFileName}, {movFileName}, {generatorParams}
The
templateFile
URL. This file can be a SWT file.
The
templateParams
parameters in the SWT file, and the values are what you want to specify for those
parameters. For Dreamweaver to recognize a SWF file as a Flash object, the first parameter
must be
"dwType"
such as
"Flash Text"
The
swfFileName
an SWF file or an empty string to ignore.
The
gifFileName
a GIF file. This argument is optional.
The
pngFileName
a PNG file. This argument is optional.
The
jpgFileName
a JPEG file. This argument is optional.
The
movFileName
a QuickTime file. This argument is optional.
The
generatorParams
command line flags. This argument is optional. Each flag's data items must follow it in the
array. Some commonly used flags are listed in the following table:
Option Flag
-defaultsize
-exactFit
Returns
A string that contains one of the following values:
means the call completed successfully.
"noError"
"invalidTemplateFile"
"invalidOutputFile"
64
Flash Integration
argument is a path to a template file, which is expressed as a file://
argument is an array of name/value pairs where the names are the
. Its value should be a string that represents the name of the object type,
.
argument, which is expressed as a file:// URL, is the output filename of
argument, which is expressed as a file:// URL, is the output filename of
argument, which is expressed as a file:// URL, is the output filename of
argument, which is expressed as a file:// URL, is the output filename of
argument, which is expressed as a file:// URL, is the output filename of
argument is an array of strings that represents optional Generator
Data
Description
Width, height
Sets the output image size to the
specified width and height
None
Stretches the contents in the
output image to fit exactly into the
specified output size
means the specified template file is invalid or not found.
means at least one of the specified output filenames is invalid.
Example
"-defaultsize",
"640", "480"
"-exactFit"
Need help?
Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?