I've got 2 applications: (Main app, and second- js game).
Main objective is: make redirect from one to second.

Redirection code from 1st main app (it work fine):
Code:
   
      $(document).ready(function(){ 
     (function customizeOnLoad(){ 
$("body").bind('keypress', function(event) { 
     if( event.which === 94 && event.shiftKey) { 
        window.location.href = 'trunk/raid.html?userid='+User_ID; 
     } 
     }); 
     }()); 
     });
The second application raid.html a significant code:

Code:
 <!DOCTYPE html> 
      <html> 
      <head> 
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
     <title>Raid</title> 
<script type="text/Javascript" src="js/Createjs.js"></script>
(...) here is some js code in <script type="text/javascript">
Imo important part:

Code:
function init() {

        createjs.Sound.registerPlugins([createjs.WebAudioPlugin,createjs.HTMLAudioPlugin, createjs.FlashPlugin]);

    	 var canvas; 
canvas = document.getElementById("gameCanvas");	
                        stage = new createjs.Stage(canvas);	
Body Part:

      <body onLoad="init();"> 
      <canvas id="gameCanvas" width="800" height="500" style="background-color: black;"> 
      <font color="#F68B23" HTML5 Problem> 
      </canvas> 
      </body>
And now:
(Im using IE 10). When I run game from file (from directory).

The browser show dialog about ActiveX permission. When I allow it. **The game works fine**.
(I made IE security lower, but IE asks me about ActiveX permission all the time)

The game works fine in chrome browser from 1st app redirection too.

But when I try tu run it (from redirection) in IE10 browser: I've got few bugs like:
> Object doesn't support property or method 'getContext'

and debugger show line in create.js:

Code:
    a._ctx=(createjs.createCanvas?createjs.createCanvas():document.createElement("canvas")).getContext("2d")
other bugs are related to upper error.

So I found some help about canvas IE compatibility on: https://code.google.com/p/explorerca...i/Instructions

Then I tried to add code to my app like:

Code:
      <!DOCTYPE html> 
      <html> 
      <head> 
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
      <title>Raid</title> 
      <!--[if IE]><script src="excanvas.js"></script><![endif]--> 
<script type="text/Javascript" src="js/Createjs.js"></script>
I puted excanvas.js to game location.
Next i add part into:

Code:
    	 var canvas; 
canvas = document.getElementById("gameCanvas");	
                        G_vmlCanvasManager.initElement(canvas); 
                        var ctx = canvas.getContext('2d'); 
                        stage = new createjs.Stage(canvas);
Also I tried a few other solution about canvas IE compatibilitty.
Nothing doesn't change situation.

So there is a question:
Maybe I'm in on bad way in searching problem. Or I do something wrong.
Do you think: Is a canvas IE 10? compatibillity problem? Or maybe something else?