3 Replies Latest reply on Oct 17, 2006 5:59 AM by AnandMX


    tegnegi Level 1
      hi . i m trying to load a jpg image(1.jpg) frm the same folder where i ve my fla file throught MovieClipLoader Class. But the problem is that once the image has been loaded into the swf i cant duplicate it. I m trying to duplicate it onLoadInit event listener.
      Please help me . The code is as follows.This code is in the first frame of the root timeline and i m working in Flash 8.

      _root.attachMovie("gr", "mc", 0);
      mc._x = 275;
      mc._y = 200;
      var imgLoader:MovieClipLoader = new MovieClipLoader();
      var imglis:Object = new Object();
      imglis.onLoadInit = function(mc:MovieClip) {

      mc.duplicateMovieClip("zz", 10, { _x : 100 } );

      imgLoader.loadClip("1.jpg", mc);