Flash CS4 Resources
Using Flash
ActionScript 3.0 and Components
ActionScript 2.0 and Components
Adobe AIR
Flash Lite
Extending Flash
Flash CS3 Professional.
shape.isOvalObject
Read-only property; if true, the shape is a primitive Oval object (was created using the Oval Primitive tool).
The following example displays "true" if the first selected item is a primitive Oval object, and "false" if it is not:
var sel = fl.getDocumentDOM().selection[0]; fl.trace(sel.isOvalObject);
shape.isRectangleObject