for (i = 1; i < 6; i++) { var mc = this.createEmptyMovieClip ("container"+i, i); mc.loadMovie(i + ".jpg"); mc._alpha = 0; }