return to tutorial

Your code should look like this:

 

circle.addEventListener(MouseEvent.CLICK, removeCircle);
function removeCircle(event:MouseEvent):void
{
     circle.graphics.clear();
}


screenshot 5