title: Why doesn't Adobe Edge animation work after copying generated code into an html file in a different directory?
body: <p>I'm trying to keep all the files Edge generates separate from my main files.</p>
  
  <p>This is the html in the file it publishes:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&gt;
  &lt;meta http-equiv="X-UA-Compatible" content="IE=Edge"/&gt;
  &lt;title&gt;Untitled&lt;/title&gt;
  &lt;!--Adobe Edge Runtime--&gt;
  &lt;script type="text/javascript" charset="utf-8" src="anim_edgePreload.js"&gt;&lt;/script&gt;
  &lt;style&gt;
      .edgeLoad-EDGE-20819118 { visibility:hidden; }
  &lt;/style&gt;
  &lt;!--Adobe Edge Runtime End--&gt;
  
  &lt;/head&gt;
  &lt;body style="margin:0;padding:0;"&gt;
  &lt;div id="Stage" class="EDGE-20819118"&gt;
  &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I copied the code over to an html file outside the animation folder containing all the generated files and changed the directory of the JS file it's referring to.</p>
  
  <p>anim_edgePreload.js --> edgeAnimation/anim_edgePreload.js</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&gt;
  &lt;meta http-equiv="X-UA-Compatible" content="IE=Edge"/&gt;
  &lt;title&gt;Untitled&lt;/title&gt;
  &lt;!--Adobe Edge Runtime--&gt;
  &lt;script type="text/javascript" charset="utf-8" src="edgeAnimation/anim_edgePreload.js"&gt;&lt;/script&gt;
  &lt;style&gt;
      .edgeLoad-EDGE-20819118 { visibility:hidden; }
  &lt;/style&gt;
  &lt;!--Adobe Edge Runtime End--&gt;
  
  &lt;/head&gt;
  &lt;body style="margin:0;padding:0;"&gt;
  &lt;div id="Stage" class="EDGE-20819118"&gt;
  &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>The animation no longer appears on the page, any idea why?</p>
  
  <p>I get this error in Firebug after a few seconds:</p>
  
  <p>TypeError: AdobeEdge.okToLaunchComposition is not a function</p>
  
  <p>function edgeCallback(a){htFallbacks[a]&amp;&amp;(a=htFallbacks[a]);AdobeEdge.preload.got[a]=!0;if(a==AdobeEdge.preload.last)AdobeEdge.okToLaunchComposition(compId),AdobeEdge.preload.busy=!1,AdobeEdge.preload.q.length>0&amp;&amp;(a=AdobeEdge.preload.q.pop(),AdobeEdge.requestResources(a.files,a.callback))}</p>