title: Creating a FallBack for Flash for IE8
body: <p>I created an simple animation with Flash and used the CREATEJS PLuggin to convert my SWF to a HTML5 + JS solution. THis works fine in all browsers EXCEPT IE* and older of course. </p>
  
  <p>My solution is to create a Flash FallBack to play the SWF file if the Browser is IE. 
  Unfortunately I am able to write this and was hopig someone can help me to achieve this. 
  Please see the HTML file below: </p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;meta charset="UTF-8"&gt;
  &lt;title&gt;CreateJS export from cwtXmasCard2013&lt;/title&gt;
  
  &lt;script src="http://code.createjs.com/easeljs-0.6.0.min.js"&gt;&lt;/script&gt;
  &lt;script src="http://code.createjs.com/tweenjs-0.4.0.min.js"&gt;&lt;/script&gt;
  &lt;script src="http://code.createjs.com/movieclip-0.6.0.min.js"&gt;&lt;/script&gt;
  &lt;script src="http://code.createjs.com/preloadjs-0.3.0.min.js"&gt;&lt;/script&gt;
  &lt;script src="cwtXmasCard2013.js"&gt;&lt;/script&gt;
  
  &lt;script&gt;
  var canvas, stage, exportRoot;
  
  function init() {
  canvas = document.getElementById("canvas");
  images = images||{};
  
  var manifest = [
      {src:"images/Image.png", id:"Image"},
      {src:"images/Image_1.png", id:"Image_1"},
      {src:"images/Image_0.png", id:"Image_0"},
      {src:"images/CWT_HolidayCard.jpg", id:"CWT_HolidayCard"}
  ];
  
  var loader = new createjs.LoadQueue(false);
  loader.addEventListener("fileload", handleFileLoad);
  loader.addEventListener("complete", handleComplete);
  loader.loadManifest(manifest);
  }
  
  function handleFileLoad(evt) {
  if (evt.item.type == "image") { images[evt.item.id] = evt.result; }
  }
  
  function handleComplete() {
  exportRoot = new lib.cwtXmasCard2013();
  
  stage = new createjs.Stage(canvas);
  stage.addChild(exportRoot);
  stage.update();
  
  createjs.Ticker.setFPS(24);
  createjs.Ticker.addEventListener("tick", stage);
  }
  &lt;/script&gt;
  &lt;/head&gt;
  
  &lt;body onload="init();" style="background-color:#D4D4D4"&gt;
  &lt;canvas id="canvas" width="711" height="661" style="background-    color:#ffffff"&gt;&lt;/canvas&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>