Why isnt this working?!

Hi i have a windows and i want it to close it with this script:on (release) {
_root.Clicked = false;
_parent.removeMovieClip();
}