2 Replies Latest reply on Aug 3, 2006 8:09 AM by dbsorber

    Problems with Dynamically Loaded jpgs

    dbsorber
      Hello all,

      I'm trying to create a dynamic flash slideshow that loads external jpgs (and thus can be reused). I can get my jpgs to load just fine but when I try to center the loaded images I run into problems.

      Here is my code for reference:
      quote:

      _root.createEmptyMovieClip("parentClip", 1);
      parentClip.createEmptyMovieClip("containerClip", 1);
      parentClip.containerClip.loadMovie("images/tempSlideshowImages/image2.jpg");


      When I go to get the width or height of parentClip (or containerClip for that matter) I get 0 no matter what I do, even though the image is loaded and displays just fine.

      Is there any way to load a jpg into a movie clip and then manipulate the movieclip normally?