if(int(json_data[0].run)==2) { trace("я запускаю clearInterval"); clearInterval(run_getRunStatusForGuest);//очищаем цикл }