Attaching a Clickable MC from the Library

Hi there,

When I click my ‘hit_mc’, ‘hitarea_mc’ gets placed on the stage from the library. When I click ‘hitarea_mc’, I want it to disappear.

So Ive done the following, but the newly attached hitarea_mc refuses to be clickable. How would I tell AS to make it thus …

var a:Number = Stage.width/2;
var b:Number = Stage.height/2;

function attach (){

hit_mc.onRelease = function(){
hitarea_mc.onRelease = function(){
    this._alpha = 0;