
230
EXTENDING FIREWORKS
The Fireworks Object
Las
t
up
d
a
ted
12/8/2009
Example
The following command moves the Stroke tab from its current location into the panel named Object. Although the
panel name might be capitalized onscreen, it must be passed as lowercase.
fw.setFloaterGrouping("stroke", "object");
fw.setFloaterPosition()
Availability
Fireworks 3.
Usage
fw.setFloaterPosition(
panelName, boundingRectangle
)
Arguments
panelName
Acceptable values are
"find"
,
"project log"
,
"object"
,
"info"
,
"url"
,
"effect"
,
"history"
,
"mixer"
,
"fill"
,
"stroke"
,
"swatches"
,
"layers"
,
"frames"
,
"behaviors"
,
"optimize"
,
"library"
,
"styles"
,
"optimized colors"
,
"options"
, and
"toolbox"
.
Note:
Any panels not specified in the list of valid arguments (like those in the Command Panels folder which are “outside”
the Fireworks application) should be named exactly as they appear in the file system without their file extension. For
example, the valid argument name for the Align panel (Align.swf) is "Align", and a valid name for a custom panel file
mypanel.swf would be "mypanel".
boundingRectangle
A rectangle that specifies the size of the panel (see “
Rectangle data type
” on page 8). Some panels
ignore the specified size but place the upper-left corner of the panel at the upper-left of the specified rectangle.
Returns
Nothing.
Description
Sets the position and size of a panel.
fw.setFloaterVisibility()
Availability
Fireworks 3.
Usage
fw.setFloaterVisibility(
panelName, bVisible
)
Arguments
panelName
Acceptable values are
"find"
,
"project log"
,
"object"
,
"info"
,
"url"
,
"effect"
,
"history"
,
"mixer"
,
"fill"
,
"stroke"
,
"swatches"
,
"layers"
,
"frames"
,
"behaviors"
,
"optimize"
,
"library"
,
"styles"
,
"optimized colors"
,
"options"
, and
"toolbox"
.
Содержание 65011817 - Fireworks CS4 - Mac
Страница 1: ...Extending ADOBE FIREWORKS CS4...