Property (read-only) or
method
top
width
Slices object
Slices is an object that has some properties and is also a two-dimensional array of SliceInfo
objects (see
"SliceInfo object" on page
information for the first cell at row 0, column 0. The first array is rows; the second is
columns.
The following example shows a common way to access the table:
var curRow;
var curCol;
for (curRow = 0; curRow<slices.numRows; curRow++) {
for (curCol=0; curCol<slices.numColumns; curCol++) {
var curSlice = slices[curRow][curCol]; // curSlice is the slice info
for the cell at this row &
column.
// do whatever processing with curSlice.
}
}
The following table lists the properties of the Slices object, along with their data types and,
where appropriate, acceptable values and notes. All Slices object properties are read-only.
Property (read-only)
demoIndex
doDemoHTML
doShimEdges
92
The Fireworks Object Model
Data type
Notes
integer
Top of the cell in pixels. The top starts at
integer
Width of the image in pixels, including
column spans.
89). For example,
Data type
Notes
zero-based
Index for each file generated for multiple file
index
button export.
Boolean
Corresponds to the Export Multiple Nav bar
HTML Files check box in the Document
Specific tab of the HTML Setup dialog box.
Setting this property to
HTML pages where n is the number of
buttons. A value of
HTML page.
Boolean
Set to
Transparent Image in Document
properties.
is the slice
Slices[0][0]
true
produces a single
false
if table shims are set to
true
.
0
produces n+1
Need help?
Do you have a question about the FIREWORKS 8-EXTENDING FIREWORKS and is the answer not in the manual?
Questions and answers