Edge.stroke – Adobe Extending Flash Professional CS5 User Manual
Page 206
184
EXTENDING FLASH PROFESSIONAL
Edge object
Last updated 5/2/2011
Returns
Nothing.
Description
Method; splits the edge into two pieces. You must call
before using this method.
Example
The following example splits the specified edge in half:
var shape = fl.getDocumentDOM().selection[0];
shape.beginEdit()
shape.edges[0].splitEdge( 0.5 );
shape.endEdit()
edge.stroke
Availability
Flash CS4 Professional.
Usage
edge.stroke
Description
Property; a
Example
The following example displays the stroke color of the first edge of the selected object:
var shape = fl.getDocumentDOM().selection[0];
fl.trace(shape.edges[0].stroke.color);
This manual is related to the following products: