title: Uncaught ReferenceError: createjs is not defined
body: <p>I have installed externs for createjs libraries:</p>
  
  <pre><code>haxelib install createjs
  </code></pre>
  
  <p>I added the createjs library to compile file:</p>
  
  <pre><code>-main com.ketab.createjs_js_js.Main
  -cp src
  -lib createjs
  -js bin/m.js
  </code></pre>
  
  <p>And I can compile with no errors, but in chrome, I get this error:</p>
  
  <pre><code>Uncaught ReferenceError: createjs is not defined 
  </code></pre>
  
  <p>for the line </p>
  
  <pre><code>createjs.Ticker.useRAF = true;
  </code></pre>
  
  <p>Here is my html file:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
      &lt;meta charset="utf-8"/&gt;
      &lt;title&gt;createjs_js_js&lt;/title&gt;
      &lt;meta name="description" content="" /&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
      &lt;div id="haxe:trace"&gt;&lt;/div&gt;
      &lt;script src="m.js"&gt;&lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Any idea please?</p>