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 …
Thanks…
var a:Number = Stage.width/2;
var b:Number = Stage.height/2;
function attach (){
_root.attachMovie("hitarea","hitarea_mc",10,{_x:a,_y:b});
}
hit_mc.onRelease = function(){
attach();
}
hitarea_mc.onRelease = function(){
this._alpha = 0;
}