# \[AS3\] Drawing API - Solid Overlap?!

**URL:** <https://forum.kirupa.com/t/as3-drawing-api-solid-overlap/216375>\
**Category:** flash\
**Created:** [February 15, 2007, 11:04pm UTC](https://forum.kirupa.com/t/as3-drawing-api-solid-overlap/216375 "2007-02-15T23:04:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SecretAgentRege](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@SecretAgentRege](https://forum.kirupa.com/u/SecretAgentRege)\
**Post date:** [February 15, 2007, 11:04pm UTC](https://forum.kirupa.com/t/as3-drawing-api-solid-overlap/216375/1 "2007-02-15T23:04:45Z")

</div>

I’m trying to simply draw a solid shape consisting of various other shapes, however, when I overlap two shapes, the overlapped area becomes transparent again. For instance:

```auto
            var myShape:Shape = new Shape();
                myShape.graphics.beginFill(0x000000);
                myShape.graphics.drawCircle(10, 10, 25);
                myShape.graphics.drawCircle(20, 10, 25);
                myShape.graphics.endFill();
                this.addChild(myShape);

```

The above code is AS3, but I believe the same thing happens for AS2 as well. The overlapping area between the two circles is not clack

Is there something I’m missing to make it one solid black object? I’ve seemed like I’ve crawled the livedocs for an hour!

Thanks!  
Rege
