title: Wait for class method to complete in ActionScript 3
body: <p>I'm currently creating a website with AS3 in FlashDevelop, so it's code only — no timeline stuff.</p>
  
  <p>I have a class that loads images with a method that I call from my main source. I was wondering how I go about making sure that the images are loaded before executing more code <strong>outside of the class</strong>. I know how to do it using <em>Event.COMPLETE</em> in the image class, but I am unsure how to get the main class to wait.</p>
  
  <p>How do I do this?</p>
  
  <p>Thanks in advance!</p>