title: AS3 and the loader class
body: <p>I write here, because after looking for a solution, I could not resolve my error...</p>
  
  <pre><code>var test:MovieClip;
  
  var sign:Loader = new Loader();  
  sign.contentLoaderInfo.addEventListener(Event.COMPLETE, completSIGN);  
  sign.load(new URLRequest("http://files.zebest-3000.com/278374/3011/3011.swf"));  
  
  function completSIGN(e:Event):void  
  {  
  test = MovieClip(e.target.content);  
  addChild(test);  
  }
  </code></pre>
  
  <p>This is the error:</p>
  
  <blockquote>
    <p>TypeError: Error #1009: Il est impossible d'accéder à la propriété ou à la méthode d'une référence d'objet nul. at Main::StateManager()</p>
  </blockquote>
  
  <p>So, the movie (some videos work perfectly and others not) does not want to load in my container ; it seems there is a problem in the mapping... and can't modify the distant movie.</p>
  
  <ul>
  <li>Is there an other method of loading a movie inside one other (I have try also to load with bytearray, but it's the same)?</li>
  <li>Can we catch this error and relocate the instance to help him to find the correct way?</li>
  </ul>