Swf object problems!

I have made a flash which it is using at the start of it _xmouse and _ymouse to put some buttons. When I test this in flash there are no problems, but when I put my swf in a html body with swf object and test it in a browser nothing happens. Any ideas?
Thank you.