142
Fireworks JavaScript API
dom.addNewImageViaCut()
Availability
Fireworks MX.
Usage
dom.addNewImageViaCut()
Arguments
None.
Returns
Nothing.
Description
Adds a new image to the document that contains the contents of the current paint mode
selection. The new image is placed directly above the active bitmap. You must have a current
pixel selection for this to succeed. The selection is cut from the previously active bitmap. The
new bitmap appears with Fireworks in paint mode.
dom.addNewLayer()
Availability
Fireworks 3.
Usage
dom.addNewLayer(
name
,
bshared
)
Arguments
name
A string that specifies the name for the new layer. If
name
is
null
, a new layer name
is generated.
bShared
A Boolean value that specifies whether the new layer is shared.
Returns
A string value that contains the name of the new layer.
Description
Adds a new layer to the document and makes it the current layer.
Summary of Contents for FIREWORKS 8-EXTENDING FIREWORKS
Page 1: ...Extending Fireworks ...
Page 4: ...4 Contents ...
Page 358: ...358 Fireworks JavaScript API ...
Page 372: ...372 Index ...