Automatic loading of buttons

hello there…im the newest fan of flash 8…
anyway i have a problem. when i create a falsh button and then place it on my site through dreamweaver and test my page the button doesnt immediatly work. i have to click on it once for the button to start working…how can i resolve this .i.e. i want the button to start functioning as soon as my page loads and not by clicking on it once