Mouse hide/deactivate

I wanted to know if it was possible, in flash, to make the cursor(mouse) deactivate.

I use mouse.hide, but while my cursor is invisble, i can still click on buttons. even tho the cursor is not visible.

is there a function where i could something like mouse.deactivate

thx for your help.