138
Chapter 5: Fireworks JavaScript API
dom.deleteSelection()
Availability
Fireworks 3.
Usage
dom.deleteSelection(
bFillDeletedArea
)
Arguments
bFillDeletedArea
This argument is ignored if Fireworks is not in bitmap mode. If Fireworks
is in bitmap mode and
bFillDeletedArea
is
true
, the deleted pixels are filled with the current
fill color. If
false
, the deleted pixels are filled to transparent.
Returns
Nothing.
Description
Deletes the selection, or the pixel selection if Fireworks is in bitmap mode.
Example
If Fireworks is not in bitmap mode, the following command deletes the selected items.
If Fireworks is in bitmap mode, the following command fills the selected items to transparent.
fw.getDocumentDOM().deleteSelection(false);
dom.deleteSymbol()
Availability
Fireworks 3.
Usage
dom.deleteSymbol(
symbolName
)
Arguments
symbolName
The name of the symbol to delete from the library. If more than one symbol exists
with this name, only the first symbol is deleted.
•
To delete all the selected symbols from the library (not document), pass
null
.
•
If the deleted symbols contain any active instances in the document, the instances are
also deleted.
Returns
Nothing.
Description
Deletes the specified symbols from the library.
Summary of Contents for DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER
Page 1: ...Extending Fireworks...
Page 4: ...4 Contents...
Page 8: ...8 Chapter 1 Extending Fireworks Overview...
Page 102: ...102 Chapter 4 Auto Shapes...