pointsArray[N].addEventListener(MouseEvent.CLICK, onPressPoint); function onPressPoint(e:Event):void{ trace(e.target.red.visible); }