xmlWine.onLoad = function(ok){ if(!ok || this.status < 0){ trace (ok + ' ' + this.status); return; } // а вот тут все нормально //.... }