Returns
Nothing.
Description
Distributes the selection along a vertical or horizontal dimension.
dom.distributeLayerToFrames()
Availability
Fireworks 3.
Usage
dom.distributeLayerToFrames(layerIndex)
Arguments
An integer value that specifies the layer that contains the items to be distributed,
layerIndex
starting with
(although, to specify the current layer, pass
0
Returns
Nothing.
Description
Distributes the items on the specified layer to the frames of the document, adding frames if
necessary. The first item on the layer goes to the first frame, the second item to the second frame,
and so on. New frames are added to the document, if necessary. If there is only one item in the
specified layer, this function has no effect.
dom.distributeSelectionToFrames()
Availability
Fireworks 3.
Usage
dom.distributeSelectionToFrames()
Arguments
None.
Returns
Nothing.
Description
Distributes the selected items to the frames of the document, adding frames if necessary. The first
item goes to the current frame, the second item to the next frame, and so on. If only one item is
selected, this function has no effect.
140
Chapter 5: Fireworks JavaScript API
here).
–1
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