Button Inside MovieClip Not Functioning [renamed]

I have a MovieClip called “mousetest” that I can move from a button on the stage:

on (click) { 
_root.mousetest._visible = 1; 

Inside this MC “mousetest” I have a buttom that “close” (hide/move) the MC but I can’t make this WORK, I try evrything I don’t know if is a problem using _root

Boton dentro del MC

on (click) { 
_root.mousetest._visible = 0; 

But until know I don’t know how to make _global work or if this is the best solution someone can give a hand on this one? (step by step plz)

Thank you.

I Don’t have a clue how to implement _global

thank you senocular and Random Hero for your help