MACROMEDIA FIREWORKS 8-EXTENDING FIREWORKS Manual page 143

Table of Contents

Advertisement

Example
The following command adds a new unshared layer with a default name that is generated
by Fireworks:
fw.getDocumentDOM().addNewLayer(null, false);
dom.addNewLine()
Availability
Fireworks 3.
Usage
dom.addNewLine(startPoint, endPoint)
Arguments
and
Points that specify the x,y coordinates between which the path
startPoint
endPoint
is added (see
"Point data type" on page
12).
Returns
Nothing.
Description
Adds a new path between two points. The new path uses the document's current default path
attributes and is added to the current frame and layer.
Example
The following command adds a new line between the specified coordinates:
fw.getDocumentDOM().addNewLine({x:64.5, y:279.5}, {x:393.5, y:421.5});
dom.addNewOval()
Availability
Fireworks 3.
Usage
dom.addNewOval(boundingRectangle)
Arguments
A rectangle that specifies the bounds of the oval to be added (see
boundingRectangle
"Rectangle data type" on page
12).
Document functions
143

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FIREWORKS 8-EXTENDING FIREWORKS and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Fireworks 8

Table of Contents