Fireworks functions
329
The following table lists acceptable values for
formatname
and the file type each value
represents.
Returns
An array of file:// URLs, or
null
if the dialog box is canceled.
Description
Displays a dialog box that lets the user select one or more files.
fw.openDocument()
Availability
Fireworks 3, updated in Fireworks 4 and Fireworks 8.
Usage
fw.openDocument({
fileURL
}, {
bOpenAsNew
},
bOpenWithWindowHidden
)
Arguments
fileURl
A string or an array of strings, each expressed as a file://URL, that specifies the files
to be opened. This argument is optional. If
fileURL
is omitted or
null
, the Open Document
dialog box appears.
Value
File type
"ADOBE AI3"
Adobe Illustrator
"Fireworks JavaScript"
Fireworks JSF
"kMoaCfFormat_BMP"
Bitmap
"kMoaCfFormat_FreeHand7and8"
Macromedia FreeHand
7 or 8
"kMoaCfFormat_GIF"
GIF
"kMoaCfFormat_JPEG"
JPEG
"kMoaCfFormat_PICT"
Macintosh PICT
"kMoaCfFormat_RTF"
Rich text
"kMoaCfFormat_Text"
Plain text
"kMoaCfFormat_TIFF"
TIFF
"PNG"
PNG
"PS30"
Photoshop PSD
Summary of Contents for FIREWORKS 8-EXTENDING FIREWORKS
Page 1: ...Extending Fireworks ...
Page 4: ...4 Contents ...
Page 358: ...358 Fireworks JavaScript API ...
Page 372: ...372 Index ...