shape.isRectangleObject

Availability

Flash CS3 Professional.

Usage

shape.isRectangleObject

Description

Read-only property; if true, the shape is a primitive Rectangle object (was created using the Rectangle Primitive tool).

Example

The following example displays "true" if the first selected item is a primitive Rectangle object, "false" if it is not:

var sel = fl.getDocumentDOM().selection[0]; 
fl.trace(sel.isRectangleObject); 

See also

shape.isOvalObject


Flash CS3


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/9.0/main/00004393.html