title: Flash AS2. Print swf file.
body: <p>I want to load a swf file and print it using the following code in a button.</p>
  
  <pre><code>on (release) {
      var my_pj = new PrintJob();
      var myResult = my_pj.start();
      if (myResult) {
          pagePrint = new MovieClip();
          pagePrint.loadMovie("file-to-print.swf");
          my_pj.addPage(pagePrint);
          my_pj.send();
          delete my_pj;
      }
  }
  </code></pre>
  
  <p>This doesn't work. Do you know where the problem could be?</p>