4
EXTENDING FIREWORKS
Extending Fireworks Overview
Las
t
up
d
a
ted
12/8/2009
SliceInfo
backgroundHorizontalPosition
Horizontal position of the background image. (Left, right, or
center, numeric value)
backgroundVerticalPosition
Horizontal position of the background image. (Left, right, or
center, numeric value)
backgroundHorizontalPositionV
al
Horizontal position value of the background image if the
argument is value.
backgroundVerticalPositionVal
Vertical position value of the background image if the argument
is value.
isBackground
Specifies whether the slice is background image or foreground
image. True = Background.
backgroundRepeat
Specifies if the background image repeats, and if repeats in X, Y,
Repeat (Both) and No Repeat.
backgroundAttachment
Specifies if the bg image is fixed or scrolls with the rest of the
page.
RectPrimitive
Mode
Specifies the roundness units which can be relative (percentage)
or exact (pixels).
instance
tranform
Specifies the transformation matrix of a symbol instance.
symbolName
Specifies the symbol name.
frame
name
Species the name of the state.
FrameNLayerIntersection
name
Specifies the name of the layer when the layers are accessed from
states.
document
dom.setRectRoundnessMode()
Specifies the mode of corner roundness of the rectangle as either
a percentage value or or exact pixel value.
dom.exportElements()
Exports an array of elements on the canvas to a 32-bit PNG image,
based on the image export settings.
dom.moveNineScaleGuide()
Moves a 9-slice scaling guide’s position by specified pixels.
dom.placeTextInPath()
Places the selected text inside the selected path. If no text and
path are selected, no action occurs.
dom.setSliceType()
Sets the slice type as image (foreground image), background
image, or empty (HTML Slice).
dom.redefineStyleByName()
Redefines the target style with the source style.
dom.attachTextInPath()
Attaches the selected text inside the selected path. If no text and
path are selected, no action occurs.
Class
Property or Method
Description