1 ) careful with scopes:
that script above, as is, is supposed to go on the main timeline. (you're talking to Buttons, which i guess is sitting on the main timeline)

2) the references to the variables buttons, as is, means that these 4 vars are declared ON the main timeline as well. meaning, you declare them all to false:
Code:
button01 = button02 = button03 = button04 = false;
Now your buttons, i assume, are inside the MC Buttons, right?

So their action should be:
_root.button01 = true; //same for all 4 buttons: _root.button02 = true; ...etc.

3) careful with gotoAndPlay(x) : you can't tell the player head to gotoAndPlay() on a frame that has a stop() action on it. You need to decide if it plays or stops.... right?

gparis