User Guide

270 Chapter 5: Fireworks JavaScript API
fw.setFloaterGrouping()
Availability
Fireworks 3.
Usage
fw.setFloaterGrouping(panelNameToMove, panelNameToReceive)
Arguments
panelNameToMove
A lowercase string that specifies the panel to be moved.
panelNameToReceive A lowercase string that specifies the panel into which the
panelNameToMove panel should move. If panelNameToReceive is null, the panelNameToMove
panel moves into its own panel. 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".
Returns
Nothing.
Description
Moves the specified panel into another panel, changing it to a tab within that panel. This is the
same behavior as dragging a tab from one panel to another or to its own panel.
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)