Delete

Hi,
I am basically creating an application that prioritises jobs listing…
so far i can assign a task priority, description …

so basically once the task description and task priority is chosen, the user will click the
add button, and this will be stored in the database and
on the screen another mc will appear where the created priority and description assigned will be display. in the mc there will also be a delete button to remove/delete the task…
what code could i use to remove the task…

so far i have typed the following

mc.task_mc.delete_btn.addEventListener(MouseEvent. CLICK, onDeleteClick);

private function onDeleteClick(e:MouseEvent):void
{

}