Global Methods - MACROMEDIA FIREWORKS 8-EXTENDING FIREWORKS Manual

Table of Contents

Advertisement

Matrix data type
The format for a matrix is
float, float, float]}
construct a three-by-three transformation matrix; discussion of the construction of
transformation matrices is beyond the scope of this manual.
Point data type
The format for a point is
dom.addNewLine(startPoint, endPoint)
fw.getDocumentDOM().addNewLine({x:64.5, y:279.5}, {x:393.5, y:421.5});
Rectangle data type
The format for a rectangle is
. For instance,
float}
example:
fw.getDocumentDOM().addNewOval({left:72, top:79, right:236, bottom:228});
Resolution data type
The format for resolution is
for units are "
" or "
inch
look 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)
12
The Fireworks Object Model
{matrix: [float, float, float, float, float, float,
. This guide assumes that you know how to use these nine values to
,
{x: float
y: float}
{left: float, top: float, right: float, bottom:
dom.addNewOval(boundingRectangle)
{pixelsPerUnit: float, units: string}
". For instance,
cm
dom.setDocumentResolution(resolution)
Data type
string
string
. For instance,
could look like the following example:
could look like the following
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
if OK is clicked,
. Acceptable values
if Cancel is clicked.
false
could
true

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fireworks 8

Table of Contents