estoy intentando que al dar clic sobre ellos aparescan aciertos en el texto dinamica hasta ahora llevo esto:
d1.addEventListener(MouseEvent.CLICK, abv);
d2.addEventListener(MouseEvent.CLICK, abv);
d3.addEventListener(MouseEvent.CLICK, abv);
d4.addEventListener(MouseEvent.CLICK, abv);
d5.addEventListener(MouseEvent.CLICK, abv);
d6.addEventListener(MouseEvent.CLICK, abv);
d7.addEventListener(MouseEvent.CLICK, abv);
d8.addEventListener(MouseEvent.CLICK, abv);
d9.addEventListener(MouseEvent.CLICK, abv);
d10.addEventListener(MouseEvent.CLICK, abv);
d11.addEventListener(MouseEvent.CLICK, abv);
d12.addEventListener(MouseEvent.CLICK, abv);
d13.addEventListener(MouseEvent.CLICK, abv);
d14.addEventListener(MouseEvent.CLICK, abv);
d15.addEventListener(MouseEvent.CLICK, abv);
d16.addEventListener(MouseEvent.CLICK, abv);
d17.addEventListener(MouseEvent.CLICK, abv);
d18.addEventListener(MouseEvent.CLICK, abv);
d19.addEventListener(MouseEvent.CLICK, abv);
d20.addEventListener(MouseEvent.CLICK, abv);
d21.addEventListener(MouseEvent.CLICK, abv);
d22.addEventListener(MouseEvent.CLICK, abv);
d23.addEventListener(MouseEvent.CLICK, abv);
d24.addEventListener(MouseEvent.CLICK, abv);
function abv(event:MouseEvent):void
{
total++;
aciertos.text = 'aciertos = '+total;
}
no se cual es el error de hecho no me marca error pero no funciona

de antemano gracias =D