Uncaught ReferenceError: createjs is not defined-Collection of common programming errors

I have installed externs for createjs libraries:

haxelib install createjs

I added the createjs library to compile file:

-main com.ketab.createjs_js_js.Main
-cp src
-lib createjs
-js bin/m.js

And I can compile with no errors, but in chrome, I get this error:

Uncaught ReferenceError: createjs is not defined 

for the line

createjs.Ticker.useRAF = true;

Here is my html file:




    
    createjs_js_js
    



    
    


Any idea please?