
91
EXTENDING FIREWORKS
The Document object
Las
t
up
d
a
ted
12/8/2009
Usage
dom.hasMasterPage()
Arguments
None.
Returns
A Boolean value of
true
if the current document has a master page, or
false
if there is no master page.
Description
Indicates whether or not a master page exists for the specified document. For example:
fw.getDocumentDOM().hasMasterPage()
dom.hideSelection()
Availability
Fireworks 3.
Usage
dom.hideSelection()
Arguments
None.
Returns
Nothing.
Description
Hides the selection. To redisplay it, use
dom.showAllHidden()
.
dom.importFile()
Availability
Fireworks 3.
Usage
dom.importFile(
fileURL, boundingRectangle, bMaintainAspectRatio
)
Arguments
fileURL
The filename of the file to be imported, which is expressed as a
file://URL
.
boundingRectangle
A rectangle that specifies the size to make the imported file (see “
Rectangle data type
” on
page 8). If
boundingRectangle
is specified with
left == right
and
top == bottom
, the file is brought in unscaled
with its top-left corner at the specified location, and the third argument is ignored.
Содержание 65011817 - Fireworks CS4 - Mac
Страница 1: ...Extending ADOBE FIREWORKS CS4...