![MACROMEDIA FLASH 8-EXTENDING FLASH Manual Download Page 388](http://html1.mh-extra.com/html/macromedia/flash-8-extending-flash/flash-8-extending-flash_manual_3348049388.webp)
388
Objects
Shape object
Inheritance
Element object
> Shape 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()
and
shape.endEdit()
calls to function correctly.
Method summary for the Shape object
In addition to the
Element object
methods, you can use the following methods with the
Shape object:
Property summary for the Shape object
In addition to the
Element object
properties, the following properties are available for the
Shape object:
Method
Description
shape.beginEdit()
Defines the start of an edit session.
shape.deleteEdge()
Deletes the specified edge.
shape.endEdit()
Defines the end of an edit session for the shape.
Property
Description
shape.contours
Read-only; an array of Contour objects for the shape (see
Contour
object
).
shape.edges
Read-only; an array of Edge objects (see
Edge object
).
shape.isDrawingObject
Read-only; if
true
, the shape is a drawing object.
shape.isGroup
Read-only;
if
true
, the shape is a group.
shape.vertices
Read-only; an array of Vertex objects (see
Vertex object
).
CHAPTER 35
Objects
Summary of Contents for FLASH 8-EXTENDING FLASH
Page 1: ...Extending Flash...
Page 38: ...38 Top Level Functions and Methods...
Page 532: ...532 Objects...
Page 554: ...554 C Level Extensibility...