Shape object
Inheritance
Element object
Availability
Flash MX 2004.
Description
The Shape object is a subclass of the
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.
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
Shape object:
Method
shape.beginEdit()
shape.deleteEdge()
shape.endEdit()
Property summary for the Shape object
In addition to the
Shape object:
Property
shape.contours
shape.edges
shape.isGroup
shape.vertices
shape.beginEdit()
Availability
Flash MX 2004.
Usage
shape.beginEdit()
Parameters
None.
266
Chapter 3: Objects
> Shape object
Element
and
Element object
methods, you can use the following methods with the
Description
Method; defines the start of an edit session.
Method; deletes the specified edge.
Method; defines the end of an edit session for the shape.
Element object
properties, the following properties are available for the
Description
Read-only; an array of Contour objects for the shape (see
Read-only; an array of Edge objects (see
Read-only; if
true
Read-only; an array of Vertex objects (see
object. The Shape object provides more precise
calls to function correctly.
shape.endEdit()
, the shape is a group.
CHAPTER 3
Contour
Edge
object).
Vertex
object).
Objects
object).
Need help?
Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?