Macromedia fireworks mx 2004-extending fireworks 用户手册
Core objects
15
lastExportDirectory
string
The path to the last directory to which the file
was exported, which is expressed as file://
URL, or
was exported, which is expressed as file://
URL, or
null
if the file was never exported.
For instance, if the document was last
exported to "
exported to "
file:///files/current/
logo.gif"
, it returns
"file:///files/
current"
.
lastExportFile
string
The name that was used the last time the file
was exported, or
was exported, or
null
if the file was never
exported. For instance, if the document was
last exported to
last exported to
"file:///files/current/
logo.gif"
, it returns
"logo.gif"
.
layers
•
array
An array of
Layer
objects in the document
(see
left
integer
Coordinate of the left edge of the document,
in pixels. To find the right edge of the
document, use
in pixels. To find the right edge of the
document, use
document.left +
document.width.
mapType
string
Acceptable values are
"client"
,
"server"
,
and
"both"
. Corresponds to the image-map
type selected in File > HTML Properties >
ImageMap.
ImageMap.
matteColor
string
A color string that corresponds to the matte
color specified in the Optimize panel (see
color specified in the Optimize panel (see
). This
string is used by the
useMatteColor
property.
onionSkinAfter
integer
Number of frames after the current frame to
show through onion skinning. Corresponds
to the onion-skin controls in the left edge of
the Frames panel. A value of
show through onion skinning. Corresponds
to the onion-skin controls in the left edge of
the Frames panel. A value of
0
indicates no
onion skinning; a very large value (such as
99,999
) indicates onion skinning of all frames
after the current frame.
onionSkinBefore
integer
Similar to the
onionSkinAfter
property,
but refers to the number of frames to show
through onion skinning before the
current frame.
through onion skinning before the
current frame.
patterns •
object
List of internal pattern names.
pathAttributes
object
PathAttrs object (see
). This object specifies default
attributes that will be applied to all newly
created objects.
created objects.
pngText
object
A structure that can be used to store various
chunks of text in a well-known format. For
more information, see
chunks of text in a well-known format. For
more information, see
.
Property
Data type
Notes