Help with error message

Hello all

I am having a problem with an erroe code and im not sure what i have done wrong

**Error code : **Error Symbol=MembersBackground_mc, layer=Buttons1, frame=77:Line 1: Statement must appear within on handler
Dunkyb123_btn.onRelease = function () {

Total ActionScript Errors: 1 Reported Errors: 1

Here is my code : Dunkyb123_btn.onRelease = function () {

I am trying to get a button in a movie clip called MembersBackground_mc to play a label called dunkyb123 in movie clip called Clanmemer_mc

Can anyone help on this



P.S. not sure if i have posted in the right forum