OOP & classes

in the following classes i want to tell class A that class B is finished. how can i do this?


**[COLOR=red]// A.as[/COLOR]**
package Classes {
 import Classes.B;
 
    public class A {
  private var aList:Object = new Object();
  private var nListLength:uint = 10;
  public function A() {
   for(var i:uint=0; i<nListLength; i++) {
    this.aList* = new B();
   }
        }
 
  public function cleanUp():void {
   for(var i:uint=0; i<nListLength; i++) {
    this.aList*.cleanUp();
   }
  }
    }
}
 
[COLOR=red]**// B.as**[/COLOR]
package Classes {
 public class B {
  private var delay:uint = int(Math.random()*100);
  private var delayCount:uint = 0;
 
  public function B() {
   this.addEventListener(Event.ENTER_FRAME, this.contRefresh);
  }
 
  public function cleanUp():void {
   this.removeEventListener(Event.ENTER_FRAME, this.updatePosition);
  }
 
  private function contRefresh(evtObj:Event):void {
   if(this.delay == this.delayCount) {
    [COLOR=red]// FINISHED[/COLOR]
   }
   this.delayCount++;
  }
 }
}