Macromedia fireworks mx 2004-extending fireworks User Manual
236
Chapter 5: Fireworks JavaScript API
dom.setTextParaSpacingBefore()
Availability
Fireworks MX.
Usage
dom.setTextParaSpacingBefore(paraSpaceBefore)
Arguments
paraSpaceBefore
The number of pixels to move down before starting a new paragraph.
Returns
Nothing.
Description
Sets the before-paragraph spacing for text; that is, the number of pixels to move down from the
previous paragraph before starting the new paragraph. For vertical text mode, this function
defines the vertical distance between paragraphs. If you apply
previous paragraph before starting the new paragraph. For vertical text mode, this function
defines the vertical distance between paragraphs. If you apply
dom.setTextParaSpacingAfter()
in one paragraph, and
dom.setTextParaSpacingBefore()
in the second paragraph, the space between the two paragraphs would be the sum of both
spacing arguments.
spacing arguments.
dom.setTextRuns()
Availability
Fireworks 3.
Usage
dom.setTextRuns(textRuns)
Arguments
textRuns
A TextRuns object (see
).
Returns
Nothing.
Description
Replaces the text in the selected text blocks with the styled text that is described by the TextRuns
object passed in the argument.
dom.setTransformMode()
Availability
Fireworks 3.
Usage
dom.setTransformMode(mode)