Flash CS3 Documentation |
|||
| Extending Flash > Objects > Shape object > shape.isRectangleObject | |||
Flash CS3 Professional.
shape.isRectangleObject
Read-only property; if true, the shape is a primitive Rectangle object (was created using the Rectangle Primitive tool).
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);
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