MACROMEDIA FIREWORKS MX 2004-EXTENDING FIREWORKS Manual page 113

Extending fireworks
Hide thumbs Also See for FIREWORKS MX 2004-EXTENDING FIREWORKS:
Table of Contents

Advertisement

dom.addNewLine()
Availability
Fireworks 3.
Usage
dom.addNewLine(startPoint, endPoint)
Arguments
and
startPoint
added (see
"Point data type" on page
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
boundingRectangle
"Rectangle data type" on page
Returns
Nothing.
Description
Adds a new oval fitting into the specified bounding rectangle. The oval uses the document's
current default path attributes and is added on the current frame and layer.
Example
The following command adds a new oval within the specified coordinates.
fw.getDocumentDOM().addNewOval({left:72, top:79, right:236, bottom:228});
Points that specify the x,y coordinates between which the path is
endPoint
11).
A rectangle that specifies the bounds of the oval to be added (see
11).
Document functions
113

Advertisement

Table of Contents
loading
Need help?

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

This manual is also suitable for:

Fireworks mx 2004

Table of Contents