330
Fireworks JavaScript API
bOpenAsNew
If
bOpenAsNew
, which was added in Fireworks 4, is
true
, the files are opened as
unsaved and untitled documents. If
bOpenAsNew
is
false
(the default value), they are opened
with their original names. This argument is optional.
bOpenWithWindowHidden
Boolean. If
bOpenWithWindowHidden
, which was added in
Fireworks 8, is
true
, and if there is only one document to open, the document will be hidden
when opened. If more than one document is being opened, this parameter is ignored. The
default value is
false
. This parameter was added to enhance the Batch Process feature.
Returns
If any of the files can be opened, returns the Document object for each file. Returns
null
if
none of the documents can be opened.
Description
Opens the specified files in new document windows. If a file is already open, it opens again; to
avoid redundant open operations, call
findOpenDocument()
first.
See also
fw.findOpenDocument()
fw.popupColorPicker()
Availability
Fireworks MX.
Usage
fw.popupColorPicker(
screenLoc, initialColor, allowTransparent, forceWeb216
)
Arguments
screenLoc
The location at which the dialog box appears, in the form of a point
{
x:
float
,
y:
float}
(for syntax details, see
“Point data type” on page 12
).
initialColor
The initially selected color in the dialog box, in the form
#rrggbbaa
(for
syntax details, see
“Color string data type” on page 11
).
allowTransparent
A Boolean value that lets the user select a transparent color; set to
true
for transparent,
false
otherwise.
forceWeb216
A Boolean value that forces the specified color to fall within the web216
panel; set to
true
to force the color change,
false
otherwise.
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 ...