Have you tried this to inactivate an object being a button?

buttonMode = false;
nameofclip.mouseEnabled = false;