MACROMEDIA FIREWORKS 8-EXTENDING FIREWORKS Manual page 147

Table of Contents

Advertisement

Arguments
An integer that specifies the number of sides of the new path.
numSides
A floating-point value that controls the regularity of the star or polygon. Pass
spikiness
to have Fireworks calculate a good value, or pass a value between 0 and 1 for manual control.
If
bIsStar
bIsStar
, a regular polygon with the specified number of sides is created.
false
Specifies the center point of the star or polygon (see
centerPoint
on page
12).
Specifies a point on the radius of the star or polygon.
outsidePoint
Returns
Nothing.
Description
Adds a new star- or polygon-shaped path.
Example
The following command adds a five-sided star:
fw.getDocumentDOM().addNewStar(5, -1, true, {x:186, y:72}, {x:265, y:89});
dom.addNewSymbol()
Availability
Fireworks 3.
Usage
dom.addNewSymbol(type, name, bAddToDoc)
Arguments
Acceptable values are
type
A string that specifies the name of the symbol.
name
If
bAddToDoc
bAddToDoc
document. If
, the symbol is created in the document's library, but no instance of the
false
symbol is inserted into the document.
Returns
Nothing.
is
, a star with the specified number of points is created. If it is
true
,
"graphic"
"button",
is
, an instance of the symbol is inserted into the center of the
true
"Point data type"
or
.
"animation"
Document functions
-1
147

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

This manual is also suitable for:

Fireworks 8

Table of Contents