
219
EXTENDING FIREWORKS
The Fireworks Object
Las
t
up
d
a
ted
12/8/2009
Returns
RGB pixel value.
Description
Combines the individual hex values into a single RGB value.
fw.moveFocusToDoc()
Availability
Fireworks 8.
Usage
fw.moveFocusToDoc()
Arguments
None.
Returns
Nothing.
Description
Moves the keyboard focus to the document window.
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.
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.
Содержание 65011817 - Fireworks CS4 - Mac
Страница 1: ...Extending ADOBE FIREWORKS CS4...