Place the initialization code into the onLoad method instead of the
constructor:

class A extends MovieClip {
   private var b:B;
 
   private function onLoad(): Void {
      b.addEventListener("onSomeEvent", this);
   }
}


_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to