User Guide
Fireworks functions 269
fw.setActiveViewScale()
Availability
Fireworks MX.
Usage
fw.setActiveViewScale(scale, center)
Arguments
scale
A floating-point number where 1.0 is 100%, or normal view, and 1.5 is 150%. Default
is 6%.
center A point that defines the location in the document at which the view should be centered.
This argument can be used to navigate around different parts of the document.
Returns
Nothing.
Description
Sets the zoom amount and the center of the view for the current document.
fw.setActiveWindow()
Availability
Fireworks 3.
Usage
fw.setActiveWindow(document, {trueFalse})
Arguments
document
A Document object, for example, fw.documents[2], that specifies which document
should be made active.
trueFalse This optional argument is ignored by Fireworks. It is included only for
Dreamweaver compatibility.
Returns
Nothing.
Description
Sets the specified document as the active document.
Example
The following command makes the fourth document the active document.
fw.setActiveWindow(fw.documents[3]);