title: Adobe Reader plugin interaction through Javascript
body: <p>I'm displaying PDF file that are generated on-the-fly within a ASP page. The PDF generation (and download to the client) can take some time and I'd like to provide the user with some feedback (a loading message or something).</p>
  
  <p>AFAIK there's no way to know when the PDF is viewed because the DOM events get triggered when the Adobe Reader plugin gets loaded (even though it's not displaying anything yet).</p>
  
  <p>I noticed that there's a Javascript API for the plugin object that I could potentially use. I notivced a <code>LoadFile</code> method on it but unfortunately it doesn't seem to do much.
  Adobe's documentation is really useless. It talks of Javascript only as a plug-in writting language or as OLE interaction (and poorly).</p>
  
  <p>Is there any documentation for the API and is it possible to know when the PDF has been loaded? It would be perfect if I could pass on a PDF stream to a PDF viewer of some sort. </p>