title: Timeline event error in Adobe edge runtime stops javascript execution
body: <p>I am creating a learning module for an education company where i create 25 animal sprites (canvas with an image in it) and put them in a farm (div with a background image).
  The background was created in Adobe Edge for the sake of the opening animation, and in the Edge's last frame, i am calling an init function in my Javascript code that builds the test and creates the sprites. Some animation keeps occurring indefinitely in the background (sun and clouds) through the Edge code.</p>
  
  <p>The problem is that the screen sometimes loads correctly and sometimes stops in the middle of execution. Through console.log, I discovered that sometimes there is an error event in Edge that sends a message to the console:</p>
  
  <blockquote>
    <p>Javascript error in event handler! Event Type = timeline</p>
  </blockquote>
  
  <p>After that, all Javascript code stops and the screen is rendered useless.</p>
  
  <p>I tried catching the error event and clearing it, by adding the following code to the head section of the index file:</p>
  
  <pre><code>function noError(){return true;}
  window.onerror = noError;
  </code></pre>
  
  <p>but it didn't work.</p>
  
  <p>I went into the Adobe Edge <strong>edge.0.1.7.min.js</strong> file and added a <strong><em>return true;</em></strong> but that didn't work either.</p>
  
  <p>There is not much help on Adobe Edge issues, but there seem to be quite a lot of them... </p>
  
  <p>the project can be seen at:</p>
  
  <p><a href="http://www.totalliberty.com/cet/farm/" rel="nofollow">http://www.totalliberty.com/cet/farm/</a></p>