dom.changeSliceGuide()
Availability
Fireworks MX.
Usage
dom.changeSliceGuide(currentPosition, newPosition, guidekind, isMagneticDrag)
Arguments
currentPosition
be moved.
newPosition
Acceptable values are
guidekind
, Fireworks assumes that the specified positions are y coordinates; if
"horizontal"
the specified positions are x coordinates.
isMagneticDrag
the old and new positions. If
the old guide position and the new position. This action resizes and possibly deletes rectangular
slices that do not abut the slice guide at
Returns
Nothing.
Description
Moves a slice guide's position to a new location, which resizes any rectangular slices that abut the
guide. An argument controls whether slice guides that exist between the old position and the new
one are also moved.
If a slice is resized so that it has zero width or height, the slice is deleted.
This function does not change slices that are not rectangular.
Example
The following command moves a vertical slice guide from position 135 to position 275, and
moves all vertical slice guides between 135 and 275 to 275.
fw.getDocumentDOM().changeGuide(135, 275, "vertical", true);
dom.clearJPEGMask()
Availability
Fireworks 4.
Usage
dom.clearJPEGMask()
Arguments
None.
A floating-point value that specifies the current position of the slice guide to
A floating-point value that specifies the new position of the slice guide.
"horizontal"
A Boolean value that determines whether to move other slice guides between
isMagneticDrag
and
"vertical"
is
, Fireworks also moves slice guides between
true
.
currentPosition
. If the value of
guidekind
"vertical"
Document functions
is
,
125
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