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);
|
|
|
|