1 Reply Latest reply on Nov 6, 2008 10:42 PM by kglad

    check loadMovie

    turch2009
      I'm loading an external jpg into a movieClip called "img1". I need something to happen after it is loaded. How do i check to see if it's loaded?

      this.img1.loadMovie("flash_images/"1.jpg");

      I tried:

      this.img1.onLoad = function(success:Boolean):Void {
      if (success) {
      trace("success");
      } else {
      trace("Error");
      }
      };

      It doesn't work at all. Please help.