means that one or more of the
"invalidData"
invalid.
"initGeneratorFailed"
means there is insufficient memory to complete the operation.
"outOfMemory"
"unknownError"
Example
The following JavaScript creates a Flash object file of type
occurrences of the string
creates a GIF file as well as a SWF file.
var params = new Array;
params[0] = "dwType";
params[1] = "myType";
params[2] = "text";
params[3] = "Hello World";
errorString = SWFFile.createFile( "file:///MyMac/test.swt", ¬
params, "file:///MyMac/test.swf", "file:///MyMac/test.gif");
SWFFile.getNaturalSize()
Description
This function returns the natural size of any Flash content.
Arguments
fileName
The
argument, which is expressed as a file:// URL, is a path to the Flash
fileName
content.
Returns
An array that contains two elements that represent the width and the height of the Flash
content or a
value if the file is not a Flash file.
null
means the Generator cannot be initialized.
means an unknown error occurred.
inside the Template file with the string,
"text"
name/value pairs is
templateParams
, which replaces any
"myType"
The Flash Objects API
. It
"Hello World"
65
Need help?
Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?