Simple code HELP

Ok, for some reason I can’t do what it seems to be simple, this is the case, I have a button and I want that on release the button check if the frame of a movie clip IS NOT 2 execute an action, I think I am doing something wrong but I cant get it. this is the code:


on (release) {
    if(_root.sceneHolder_mc.contHolder_mc != (2)){
    _root.sceneHolder_mc.gotoAndPlay("s1");
    _root.sceneHolder_mc.contHolder_mc.gotoAndStop(2);
}

}

For Some reason when I press the button it goes to contHolder, frame 2, but when I press again it does not check and it execute again (not checking that if is telling it to dont do anything is is on frame 2)

please Help :jail: