MACROMEDIA FIREWORKS MX 2004-EXTENDING FIREWORKS Manual page 111

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

Advertisement

Description
Adds a new Hotspot that fits into the specified bounding rectangle.
Example
The following command adds a new rectangle slice with the specified coordinates.
fw.getDocumentDOM().addNewHotspot("slice","rectangle",{left:0, top:0,
right:50, bottom:100});
dom.addNewImage()
Availability
Fireworks 3.
Usage
dom.AddNewImage(boundRectangle, bEnterPaintMode)
Arguments
boundingRectangle
"Rectangle data type" on page
therefore, if you pass in a rectangle with bounds larger than the document size, you can create an
image that is constrained to the document size.
bEnterPaintMode
mode for the new image.
Returns
Nothing.
Description
Adds a new empty (transparent) image to the document.
Example
The following command adds an empty image that is 500 by 500 pixels in size, and then enters
bitmap mode.
fw.getDocumentDOM().addNewImage({left:0, top:0, right:500, bottom:500}, true);
dom.addNewImageViaCopy()
Availability
Fireworks MX.
Usage
dom.addNewImageViaCopy()
Arguments
None.
Returns
Nothing.
A rectangle that specifies the bounds of the image to be added (see
11). You cannot create an image that is larger than the document;
If
bEnterPaintMode
is
, the application immediately enters bitmap
true
Document functions
111

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