MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 390

Extending flash
Table of Contents

Advertisement

Example
The following example stores the first contour in the contours array in the
variable and then
c
stores the
HalfEdge object
of that contour in the
variable:
he
var c = fl.getDocumentDOM().selection[0].contours[0];
var he = c.getHalfEdge();
shape.deleteEdge()
Availability
Flash MX 2004.
Usage
shape.deleteEdge( index )
Parameters
A zero-based index that specifies the edge to delete from the
array.
index
shape.edges
This method changes the length of the
array.
shape.edges
Returns
Nothing.
Description
Method; deletes the specified edge. You must call
before using this
shape.beginEdit()
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
390
Objects

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash 8

Table of Contents