1 Reply Latest reply on Jun 18, 2006 4:39 PM by kglad

    onLoadError - weird error

      here's what I found in HELP:

      var loadListener:Object = new Object();
      loadListener.onLoadError = function(target_mc:MovieClip, errorCode:String, httpStatus:Number) {
      trace(">> loadListener.onLoadError()");
      trace(">> ==========================");
      trace(">> errorCode: " + errorCode);
      trace(">> httpStatus: " + httpStatus);
      var mcLoader:MovieClipLoader = new MovieClipLoader();
      var mc:MovieClip = this.createEmptyMovieClip("mc", this.getNextHighestDepth());
      mcLoader.loadClip(" http://www.fakedomain.com/images/bad_hair_day.jpg", mc);

      and it works, of course! but when I change URL in the last string to this one:
      " http://photoes.tamb.ru/pics_for_album/12.jpg" - it doesn't work!
      it doesn't say that there's an error (and believe me, there's no such file "12.jpg" on that site!!)
      and it's just the same with any file from "photoes.tamb.ru"
      O.K., but in the same time I can load any existing .jpg's without any problem. all I wanted just to check if there's an error.
      so, can anybody help me please?