instance19 and the rest are the instance names of your dynamically created buttons, you're not doing anything wrong. Since you are not naming your buttons, flash will name them by default "instance" + a random number ( not really sure if it's 100% random, but sorta ).
In order to get a more "normal", custom instance name, use the .name property to set a custom identifier for each instance:
PHP Code:
for (i = 1; i<=5; i++)
{
this["but"+i] = new clearBut();
addChild(this["but"+i]);
this["but"+i].name = "but" + i; // name each instance differently
this["but"+i].x = this["txt"+i].x;
this["but"+i].addEventListener(MouseEvent.CLICK, onMouseDownhandler);
} // end of for
function onMouseDownhandler (event:MouseEvent):void
{
trace("instance name: " + event.currentTarget.name);
} // end of onMouseDownHandler
After 5 iterations, that should give you something like: bu1, but2... but5
Good luck.