3 Replies Latest reply on Jan 28, 2007 8:35 PM by kglad

    loadMovie to load a picture

    oscar7878 Level 1
      Hi,

      I;m using this code:


      this.createEmptyMovieClip("image_mc", 9);
      image_mc.loadMovie(" http://www.helpexamples.com/flash/images/image1.jpg");

      trace("Height: " + image_mc._height);


      I need to center the image i'm loading but i cant get the size. after trace i got:

      Height:: 0

      If I use loadMovie with a non-empty movie clip i got the original MC size.

      any ideas?

      Thanks in advance