Resolution data type
The format for resolution is
units are "
" or "
inch
like the following example:
fw.getDocumentDOM().setDocumentResolution({pixelsPerUnit:72, units:"inch"});
Global methods
The following table lists the global Fireworks methods, along with their argument data types and,
where appropriate, acceptable values and notes.
Method
alert(message)
confirm(message)
,
prompt(caption
,
write(arg1
arg2
WRITE_HTML(arg1
Core objects
This section describes the four core objects that are always available: Document, Errors, Files,
and Find.
Note: For information on how to format nonstandard data types, such as rectangle or point, see
"Formatting nonstandard data types" on page
12
Chapter 2: The Fireworks Object Model
{pixelsPerUnit: float, units: string}
". For instance,
cm
Data type
string
string
string, string
text)
, ...,
string
argN)
,
, ...,
string
arg2
argN)
dom.setDocumentResolution(resolution)
Notes
Displays a string in a modal alert box, along
with an OK button. Returns nothing.
Displays a string in a modal alert box, along
with OK and Cancel buttons. Returns
OK is clicked,
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. Returns
the string entered if OK is clicked,
Cancel is clicked.
Same as
created to let you differentiate HTML output
calls from other JavaScript calls in
your code.
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
correct line ending for your platform. For
more information, see
objects" on page
11.
. Acceptable values for
if Cancel is clicked.
false
;
WRITE_HTML
WRITE_HTML
; this is converted to the
"\n"
"HTML export
64.
could look
if
true
if
null
was
Need help?
Do you have a question about the FIREWORKS MX 2004-EXTENDING FIREWORKS and is the answer not in the manual?
Questions and answers