Macromedia fireworks mx 2004-extending fireworks 用户手册

下载
页码 296
Core objects
15
lastExportDirectory
string
The path to the last directory to which the file 
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 "
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 
null
 if the file was never 
exported. For instance, if the document was 
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 
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.
matteColor
string
A color string that corresponds to the matte 
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 
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.
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.
pngText
object
A structure that can be used to store various 
chunks of text in a well-known format. For 
more information, see 
.
Property
Data type
Notes