MACROMEDIA FIREWORKS MX 2004-EXTENDING FIREWORKS Manual page 117

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

Advertisement

Description
Adds a new symbol to the library and opens the symbol document for editing. Optionally adds an
instance of the symbol to the document.
Example
The following command adds a new graphic symbol called
instance of it in the document.
fw.getDocumentDOM().addNewSymbol("graphic", "text", true);
dom.addNewText()
Availability
Fireworks 3.
Usage
dom.AddNewText(boundingRectangle, bInitFromPrefs)
Arguments
boundingRectangle
box (see
"Rectangle data type" on page
bInitFromPrefs
used. If it is
true
Returns
Nothing.
Description
Adds a new empty text block within the specified bounding rectangle. (To place text in the box,
use
dom.setTextRuns()
Example
The following command adds a text box with the most recently used style properties.
fw.getDocumentDOM().addNewText({left:43, top:220, right:102, bottom:232},
true);
dom.addSwapImageBehaviorFromPoint()
Availability
Fireworks 3.
Usage
dom.AddSwapImageBehaviorFromPoint(where)
Arguments
A point that specifies the x,y coordinates of the Hotspot or slice that contains the swap
where
image behavior to be added (see
A rectangle that specifies the bounds within which to place the new text
If
bInitFromPrefs
, the most recent values set by the user are used.
.)
"Point data type" on page
text
11).
is
, the default values for all style properties are
false
11).
to the library and places an
Document functions
117

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