6 Replies Latest reply on Sep 9, 2006 3:07 PM by kglad

    testing if MC is loaded to get properties

    bibberlam Level 1
      hi

      i would like to test when a file is totally loaded into a particular movieclip. i now there is a good way to do such things in MX 2004, but i'm not that sofisticated... i'm using MX.

      i have a button with the next script:
      on(release){
      maximum = 10;
      i=1;
      while (i!=maximum){
      this.createEmptyMovieClip("mc"+i);
      this["mc"+i].loadMovie("photo.jpg");
      this["mc"+i].onLoad(){
      picx=this["mc"+i]._width;
      picy=this["mc"+i]._height;
      i++;
      }
      }
      }

      this script does not work for me, what else can I do?

      thanks in advance
      dries