fw.createDocumentWithDialog()
Availability
Fireworks MX 2004.
Usage
fw.createDocumentWithDialog()
Arguments
None.
Returns
The Document object for the newly created document (see
Description
Shows the New Document dialog box and allows the user to create a new document.
fw.createFireworksDocument()
Availability
Fireworks 3.
Usage
fw.createFireworksDocument(size, res, backgroundColor)
Arguments
A point whose x value specifies the document's width and whose y value specifies the
size
document's height. Both values are in pixels.
Specifies the resolution for the scaled document (see
res
backgroundColor
Returns
The Document object for the newly created document (see
Description
Opens a new document and selects it. Values for size, resolution, and color are explicitly specified.
To open a new document with the current default values, use
Example
The following command creates a new document that is 500 by 500 pixels in size, with a
resolution of 72 dpi and a solid white background color.
fw.createFireworksDocument({x:500,y:500},{pixelsPerUnit:72,units:"inch"},
"#ffffff");
See also
fw.createDocument()
246
Chapter 5: Fireworks JavaScript API
A color string (see
"Color string data type" on page
"Document object" on page
"Resolution data type" on page
11).
"Document object" on page
fw.createDocument()
13).
12).
13).
.
Need help?
Do you have a question about the FIREWORKS MX 2004-EXTENDING FIREWORKS and is the answer not in the manual?
Questions and answers