title: Load picture from XML [actionscript 2]
body: <p>I'm creating a picture gallery in actionscript 2. In order for people to easily create/modify galleries, I have actionscript read in file information through XML. However I have one problem I can't get around. I'm having trouble loading the picture into a movieclip, then being able to change the properties of that movieclip (change _x, _y, and _alpha).</p>
  
  <p>Here is what I have so far</p>
  
  <pre><code>loadMovie (photos [i].thumb_filename, "thumb"+i);
  container.attachMovie ("thumb"+i, "thumb"+i+"_mc", i);
  myThumb_mc = container ["thumb"+i+"_mc"];
  trace (myThumb_mc); //output is 'undefined'
  </code></pre>
  
  <p>How come myThumb_mc is undefined?</p>