Global methods on Adobe Fireworks CS5 | The following are the global Fireworks methods, along with their argument data types and, where appropriate, acceptable values and notes.
alert(message)
Availability
Fireworks 3.
Usage
alert(message)
Arguments
message A string containing the message to display.
Returns
Nothing.
Description
Displays the message in a modal alert box, along with an OK button.
confirm(message)
Availability
Fireworks 3.
Fireworks 3.
Usage
confirm(message)
confirm(message)
Arguments
message A string containing the message to display.
Returns
True if OK is clicked, false if Cancel is clicked.
True if OK is clicked, false if Cancel is clicked.
Description
Displays a string in a modal alert box, along with OK and Cancel buttons.
Displays a string in a modal alert box, along with OK and Cancel buttons.
prompt(caption, text)
Availability
Fireworks 3.
Fireworks 3.
Usage
prompt(caption, text)
Arguments
caption A string containing the title of the dialog box.
text A string containing the prompt for the user.
caption A string containing the title of the dialog box.
text A string containing the prompt for the user.
Returns
The string entered if OK is clicked, null if Cancel is clicked.
The string entered if OK is clicked, null if Cancel is clicked.
Description
Prompts the user (with the string that is specified by text) to enter a string in a modal dialog box; the dialog box is titled with the string that is specified by caption.
Prompts the user (with the string that is specified by text) to enter a string in a modal dialog box; the dialog box is titled with the string that is specified by caption.
write(arg1, arg2, ..., argN)
Availability
Fireworks 3.
Usage
write(arg1, arg2, ..., argN)
write(arg1, arg2, ..., argN)
Arguments
arg1, arg2, ..., argN Strings containing content for output.
Returns
An output file.
An output file.
Description
Same as WRITE_HTML; WRITE_HTML was created to let you differentiate HTML output calls from other JavaScript calls in your code.
Same as WRITE_HTML; WRITE_HTML was created to let you differentiate HTML output calls from other JavaScript calls in your code.
WRITE_CSS
Availability
Fireworks 3.
Usage
WRITE_CSS
Arguments
None.
None.
Returns
An output file.
An output file.
Description
Available only when exporting. Writes the CSS as an external file.
Available only when exporting. Writes the CSS as an external file.
WRITE_HTML(arg1, arg2, ..., argN)
Availability
Fireworks 3.
Fireworks 3.
Usage
WRITE_HTML(arg1, arg2, ..., argN)
Arguments
arg1, arg2, ..., argN Strings containing content for output.
arg1, arg2, ..., argN Strings containing content for output.
Returns
An output file.
An output file.
Description
Available only when exporting. Converts each argument to a string and writes it to the HTML output file. To enter an end-of-line character, use “\n”; this is converted to the correct line ending for your platform.
Available only when exporting. Converts each argument to a string and writes it to the HTML output file. To enter an end-of-line character, use “\n”; this is converted to the correct line ending for your platform.
fw.setUseAGMRenderingForSelection()
Availability
Fireworks 10.
Usage
fw. setUseAGMRenderingForSelection()
fw. setUseAGMRenderingForSelection()
Arguments
None.
None.
Returns
Nothing.
Nothing.
Description
Sets the currently selected vectors to use the new AGM Rendering.
Sets the currently selected vectors to use the new AGM Rendering.
Example
fw.getDocumentDOM().setUseAGMRenderingForSelection(true);
You are now reading an article/news about Global methods on Adobe Fireworks, and you can find this article (Global methods on Adobe Fireworks) with this url "https://fireworkslovers.blogspot.com/2010/12/global-methods-on-adobe-fireworks.html". If you like, you can bookmark this article "Global methods on Adobe Fireworks", and dont forget to bookmark it with this link : Global methods on Adobe Fireworks.
No comments:
Post a Comment