70
Chapter 2: The Fireworks Object Model
getFrameFileName (frameIndex)
zero-based index Returns a string that is the filename for the
slice on the specified frame, without
directory or extension information. For
example, when exporting a file base named
Button
,
Slices[0][0].getFrameFileName(0)
returns
"Button_r1_c1"
.
Generally all slices
that have images have a frame filename. For
frames 1 and higher, only slices that are
rollovers or that are targeted by a swap
image have names.
hasAltText
Boolean
Set to
true
if the slice has an alternate
text description.
hasHref
Boolean
Set to
true
if the slice has a URL.
hasHtmlText
Boolean
Set to
true
if the cell is a text-only slice.
hasImage
Boolean
Set to
true
if this cell has an image. For text-
only slices, this is set to
false
.
hasImagemap
Boolean
Set to
true
if there are image map Hotspots
in this image slice.
hasTargetText
Boolean
Set to
true
if the target text is not empty.
height
integer
Height of the image in pixels, including
row spans.
href
string
The URL link for this slice, which is
expressed as
file://URL
.
htmlText
string
Text for a text-only slice.
imagemap
object
ImagemapList object containing the image
map information for this slice (see
“ImagemapList object” on page 69
).
imageSuffix
string
Extension for the image in this cell, including
a period (.); for example,
".gif"
.
isUndefined
Boolean
Set to
true
if the slice does not have a slice
object drawn over it. If you draw two slices
that don’t cover your document, Fireworks
automatically generates slices to cover the
rest of the document. These slices are
undefined.
left
integer
Left side of the cell in pixels. The left starts
at
0
.
nestedTableSlices
object
A Slices object that describes a nested table
occupying the current table cell (see
“Slices
object” on page 71
). Set to
null
if the cell
does not contain a nested table.
Property (read-only) or method Data type
Notes
Summary of Contents for DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER
Page 1: ...Extending Fireworks...
Page 4: ...4 Contents...
Page 8: ...8 Chapter 1 Extending Fireworks Overview...
Page 102: ...102 Chapter 4 Auto Shapes...