268
Chapter 3: Objects
Description
Method; deletes the specified edge. You must call
shape.beginEdit()
before using this method.
Example
The 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();
shape.edges
Availability
Flash MX 2004.
Usage
shape.edges
Description
Read-only property; an array of Edge objects (see
Edge object
).
shape.endEdit()
Availability
Flash MX 2004.
Usage
shape.endEdit()
Parameters
None.
Returns
Nothing.
Description
Method; defines the end of an edit session for the shape. All changes made to the Shape object or
any of its subordinate parts will be applied to the shape. You must use this method after issuing
any commands that change the Shape object or any of its subordinate parts.
Example
The following example takes the currently selected shape and removes the first edge in the edge
array from it:
var shape = fl.getDocumentDOM().selection[0];
shape.beginEdit();
shape.deleteEdge(0);
shape.endEdit();
Содержание FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY
Страница 1: ...Flash JavaScript Dictionary ...
Страница 16: ...16 Contents ...
Страница 40: ...40 Chapter 2 Top level functions ...
Страница 368: ...368 Chapter 3 Objects ...
Страница 386: ...386 Chapter 4 C Level Extensibility ...