MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 74

Extending flash
Table of Contents

Advertisement

Parameters
boundingRectangle
information on the format of
A Boolean value that, if set to
bSuppressFill
without a fill. The default value is
bSuppressStroke
shape without a stroke. The default value is
Returns
Nothing.
Description
Method; adds a new oval in the specified bounding rectangle. This method performs the same
operation as the oval tool. The method uses the document's current default stroke and fill
attributes and adds the oval on the current frame and layer. If
the oval is drawn without a fill. If
a stroke. If both
bSuppressFill
effect.
Example
The following example adds a new oval within the specified coordinates; it is 164 pixels in
width and 178 pixels in height:
flash.getDocumentDOM().addNewOval({left:72,top:50,right:236,bottom:228});
The following example draws the oval without a fill:
flash.getDocumentDOM().addNewOval({left:72,top:50,right:236,bottom:228},
true);
The following example draws the oval without a stroke:
flash.getDocumentDOM().addNewOval({left:72,top:50,right:236,bottom:228},
false, true);
74
Objects
A rectangle that specifies the bounds of the oval to be added. For
boundingRectangle
. This parameter is optional.
false
A Boolean value that, if set to
bSuppressStroke
and
bSuppressStroke
, see
document.addNewRectangle()
, causes the method to create the shape
true
, causes the method to create the
true
This parameter is optional.
false.
bSuppressFill
is set to
true
are set to
is set to
, the oval is drawn without
, the method has no
true
.
,
true

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents