Problems adding actions on mouse position

hello guys… i have been having trouble adding some code to a little menu i am doing, the problem is that i’m making the menu open when the mouse is at certain position but i can’t make the menu go to its closing state when i want to… here’s the fla in case u wanna take a look…