|
|
shape.deleteEdge()
AvailabilityFlash
MX 2004.
Usageshape.deleteEdge(index)
Parameters- index
- A zero-based index that specifies the edge to delete from
the shape.edges array.
This method changes the length of the shape.edges array.
DescriptionMethod;
deletes the specified edge. You must call shape.beginEdit() before
using this method.
ExampleThe
following example takes the currently selected shape and removes
the first edge in the edge array:
var shape = fl.getDocumentDOM().selection[0];
shape.beginEdit();
shape.deleteEdge(0);
shape.endEdit();
|