I have created a dynamic button which is a component.

It has parameters for the button label and frame label.

The button label works fine but not the goto frame label.

this is the code that I use for the frame label:

PHP Code:
on (release) {

//Movieclip GotoAndStop Behavior
//End Behavior

I have then set the component definition to have the var of label - but still not working.

Thanks for any help