Shape object
Inheritance
Element object
Availability
Flash MX 2004.
Description
The Shape object is a subclass of the Element object. The Shape object provides more precise
control than the Drawing APIs when manipulating or creating geometry on the Stage. This
control is necessary so that scripts can create useful effects and other drawing commands. (See
Element
object.)
All Shape methods and properties that change a shape or any of its subordinate parts must be
placed between
shape.beginEdit()
Method summary for the Shape object
In addition to the
Element object
Shape object:
Method
shape.beginEdit()
shape.deleteEdge()
shape.endEdit()
Property summary for the Shape object
In addition to the
Element object
Shape object:
Property
shape.contours
shape.edges
shape.isDrawingObject
shape.isGroup
shape.vertices
388
Objects
CHAPTER 35
> Shape object
and
shape.endEdit()
methods, you can use the following methods with the
Description
Defines the start of an edit session.
Deletes the specified edge.
Defines the end of an edit session for the shape.
properties, the following properties are available for the
Description
Read-only; an array of Contour objects for the shape (see
object).
Read-only; an array of Edge objects (see
Read-only; if
, the shape is a drawing object.
true
Read-only; if
, the shape is a group.
true
Read-only; an array of Vertex objects (see
calls to function correctly.
Edge
object).
Vertex
object).
Objects
Contour
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?