title: ActionScript classes reference
body: <p>I have a class Square and a class Circle.</p>
  
  <p>This my class Circle:</p>
  
  <pre><code>public class Circle extends MovieClip
      {
          var growthRate:Number = 2;
  
          public function Circle() 
          {
  
              addEventListener(Event.ENTER_FRAME, grow);  
  
          }
          function grow(e :Event):void
              {
                  e.target.width +=growthRate;
                  e.target.height +=growthRate;
              }
  
      }
  </code></pre>
  
  <p>I need to stop growing the circle inside a function from Shape.</p>
  
  <pre><code>public function Square() {
              buttonMode = true;
              addEventListener(MouseEvent.MOUSE_DOWN, down);
  
          }
  
          protected function down ( event: MouseEvent):void 
          {
          //here i need to stop the circle
          }
  </code></pre>
  
  <p>I don't know how to make a relation with the Circle class in order to stop the circle growing. </p>
  
  <p>Thank you in advance.</p>