I am trying to make it so when you click anwhere on the stage the movieclip cursor is removed.
Code:
stage.addEventListener(MouseEvent.CLICK,ketchremove);
function ketchremove (evt:MouseEvent):void
{
trace("I am removed");
}
if I add a removeEventListener inthere then the image doesnt remove
I did have stage.removeChild(ketchMC); in there and it worked fine
but It just keeps looping a million and a half times. How do I make it only try to delete once. Where would I remove the event listener?
also none of my scripts are on the main timeline
and google is of no help in this situation.
thanks for any help