1 Reply Latest reply on Dec 28, 2006 5:52 AM by ∞_infinite

    Multiple loader component instances

    ∞_infinite Level 1
      Hi everyone, I'm having some problems with the loader component... I'm trying to create multiple loader instances dynamically, but only the last instance is showing. I can't figure out how to solve that... I've already tried to use duplicateMovieClip, and it didin't work also.
      This is the code I'm using, thanks in advance!


        • 1. Re: Multiple loader component instances
          ∞_infinite Level 1
          Thanks everyone, I found the problem.

          old code:
          createClassObject(mx.controls.Loader, "tempLoader" + i, 1, {contentPath: images[ i ], scaleContent: true, width: 80, height: 60, _x: ((Stage.width-10)-80), _y: (i*70)});

          new code:
          createClassObject(mx.controls.Loader, "tempLoader" + i, i, {contentPath: images[ i ], scaleContent: true, width: 80, height: 60, _x: ((Stage.width-10)-80), _y: (i*70)});

          It was o problem of depth