or you can use onClipevent on the mc

onClipEvent(mouseDown)

{

for (var cn = 0; cn<31; cn++)
{
if(this['Tile'+cn].hitTest(this._xmouse, this._ymouse))
{
this.tileTouch ++;
}
}

same difference