Restrict actions to swf

Can anyone tell me how I can restrict actions to the stage? I have objects that float dynamically when I move the mouse over the stage. If I publish my file as html and click on the area surrounding the stage the objects move…