User Guide
242 Chapter 5: Fireworks JavaScript API
fw.browseDocument()
Availability
Fireworks 3.
Usage
fw.browseDocument(URL)
Arguments
URL
The URL of the page appear in the browser. Any legal URL (including http://, ftp://, and
so on) can be passed. Fireworks does not check this argument for syntax; if you pass an illegal
value, the browser does not open the URL.
Returns
Nothing.
Description
Opens the user’s primary browser and displays the specified URL.
fw.browseForFileURL()
Availability
Fireworks 3.
Usage
fw.browseForFileURL(browseType, title, previewArea)
Arguments
browseType
Acceptable values are "open", "select", and "save". The first two values display
an Open dialog box; each is acceptable for compatibility with Macromedia Dreamweaver. The
third value displays a Save dialog box.
title and previewArea Ignored by Fireworks but are accepted for compatibility
with Dreamweaver.
Returns
The file URL selected by the user, or null if the dialog box was canceled.
Description
Displays an Open or Save dialog box to the user.
fw.browseForFolderURL()
Availability
Fireworks 3.
Usage
fw.browseForFolderURL({title}, {startFolder})