Description
Sets the name of the selected element(s).
See also
dom.findNamedElements()
dom.setElementVisible()
Availability
Fireworks 4.
Usage
dom.setElementVisisble(frameIndex, layerIndex, elementIndex, bShow)
Arguments
An integer value that specifies the frame that contains the element(s) to be
frameIndex
shown or hidden, starting with
An integer value that specifies the layer that contains the element(s) to be
layerIndex
shown or hidden, starting with
An integer value that specifies the element(s) to show or hide, starting with
elementIndex
(although, to show or hide all the elements in the specified layer, pass
0
If
is
bShow
bShow
true
Returns
Nothing.
Description
Shows or hides the specified element(s).
Example
The following command hides all the elements in the current frame and layer:
fw.getDocumentDOM().setElementVisible(-1, -1, -1, false)
See also
dom.setElementVisibleByName()
262
Fireworks JavaScript API
(although, to specify the current frame, pass
0
(although, to specify the current layer, pass
0
, the element(s) are visible. If
here).
–1
is
, they are hidden.
bShow
false
here).
–1
here).
–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