User Guide
HTML export objects 69
ImagemapList object
The ImagemapList object is an array of ImageMap objects that describe the areas in an image map
(see “ImageMap object” on page 68). To access ImageMap objects, use the ImagemapList array, as
shown below:
var curImagemap = ImagemapList[i];
The ImagemapList object has only one property, which is read-only and shown in the
following table. i
SliceInfo object
The following table lists the properties and methods of the SliceInfo object, along with their data
types and, where appropriate, acceptable values and notes. All SliceInfo object properties are read-
only.
xCoord(index)
zero-based index Returns the x coordinate for the specified
point, in pixels. For example, the following
commands return the coordinates for the
first point:
var x = imagemap.xCoord(0);
var y = imagemap.yCoord(0);
It is possible to have negative values if
the image map area is drawn so that it
crosses the left or top sides of the image (or
sliced image).
yCoord(index)
zero-based index Returns the y coordinate for the specified
point, in pixels. See
xCoord().
Property (read-only) Data type Notes
numberOfURLs
integer The number of image map areas in the image
map list (
0 or more).
Property (read-only) or method Data type Notes
altText
string The alternate text description for this slice.
behaviors
object BehaviorsList object that contains the
behaviors for this slice (see “BehaviorsList
object” on page 65).
cellHeight
integer Height of this table row, in pixels.
cellWidth
integer Width of this table column, in pixels.
downIndex
zero-based index The index for the frame of the down state for
button slices.
Property (read-only) or Method Data type Notes