Button.enabled question

Hi I´m having trouble with my buttons to enable them an when not to.
Have a var (loadswf) that changes value on (Press) and goes to and play frame 1.
In frame 1 I have the following code

[AS]if (loadswf != “first”) {
btnStart.enabled = false;
} else {
btnStart.enabled = true;
}[/AS]
The movies starts with wht btnStart disabled but when pressing another button wich changes the value the button still stays disabled?
Any ideas

probably the path to the button is wrong… ? :-\

could you attach your FLA?

Sorry messed that up here´s the current file.

Ok solved it with this

[AS]if (loadswf == “forum”) {
btnForum.enabled = false;
} else if (loadswf != “forum”) {
btnForum.enabled = true;
} [/AS]

Don´t get it why the other code didn´t work but that´s life :slight_smile:

btnStart.enabled = loadswf != "first";

ok… since you solved it on your own, you can say i made your life easier. :wink: :stuck_out_tongue:

Hey you sure did. Thx kax, thanks alot :slight_smile:

you’re welcome. :thumb: