Description
Sets the Hotspot text to the specified value for the Hotspots and slices in the selection.
Arguments
Acceptable values are
whatToSet
A string that specifies the text to be used for the Hotspot or slice.
textString
A string that specifies a URL that is already assigned to one or more Hotspots in
urlToMatch
the document. If this value is not
have
urlToMatch
and unselected Hotspots or slices are changed.
bUpdateAttributes
target, and alt tag text that were most recently associated with the new text value. For example,
suppose
textString
www.mywebsite.com"
of "Link to My Home Page". If
now being changed to
none, and an alt tag text of
Returns
Nothing.
Description
Sets the Hotspot text to the specified value for the Hotspots and slices in the selection.
Example
The following command creates a slice and inserts the HTML text,
fw.getDocumentDOM().setHotspotText("Slice ","I am HTML text", null, true);
dom.setLayerDisclosure()
Availability
Fireworks 4.
Usage
dom.setLayerDisclosure(layerIndex, bDisclosed)
Arguments
An integer value that specifies the layer that contains the elements to be displayed
layerIndex
or hidden, starting with 0 (although, to specify the current layer, pass –1 here).
If
bDisclosed
Layers list. If
bDisclosed
Returns
Nothing.
216
Chapter 5: Fireworks JavaScript API
"hotspots"
null
as their URL are changed to
If
bUpdateAttributes
is
"http://www.mywebsite.com"
was used, it was used with a color of blue, a target of none, and an alt tag
bUpdateAttributes
"http://www.mywebsite.com"
"Link to My Home Page"
is
, all elements on the specified layer are displayed in the
bDisclosed
true
is
, only the layer name appears on the list.
false
,
, or
"slices"
, the URLs of all Hotspots or slices in the document that
. Note: The URLs of both selected
textString
is
, changed Hotspots inherit the color,
true
, and the last time
is
true
will also have a color of blue, a target of
.
"hotspots and slices"
"http://
, any Hotspot or slice whose text is
"I am HTML text"
.
.
Need help?
Do you have a question about the FIREWORKS MX 2004-EXTENDING FIREWORKS and is the answer not in the manual?
Questions and answers