Multiple buttons - some work some don't?

Hiya,

I have several buttons on the stage (one scene only). 1 of them works, the rest of them don’t. They all use the same code, all placed in a layer called Actions:


this.InstanceName.onRelease = function() {
  gotoAndStop("frameLabel");
}

I have found that if I place the action directly on the button itself, instead of using actionscripting in an actions layer, the button will work. But then, it seems that I’d have to put the code on each keyframe that holds the button.

Code I put on individual button:


on(release){
 gotoAndStop("frameLabel");
}

Any thoughts?

Thanks!
noushie