stop(); Value = 2; if (Value ==2) { gotoAndPlay(2) } else if (Value ==3) { gotoAndPlay(3); }else{ gotoAndPlay(1); }