title: Trying to disable Chrome same origin policy
body: <p>I'm trying to follow a melonJS tutorial. It says I should disable cross-origin request using one of two methods:</p>
  
  <p><em><strong></em>--disable-web-security</strong></p>
  
  <p><strong>--allow-file-access-from-files**</strong></p>
  
  <p>I've tried both of these in my command prompt as such:</p>
  
  <pre><code>C:\Users\danniu&gt;C:\Users\danniu\AppData\Local\Google\Chrome\Application\Chrome.e
  xe --allow-file-access-from-files
  
  C:\Users\danniu&gt;C:\Users\danniu\AppData\Local\Google\Chrome\Application\Chrome.e
  xe --disable-web-security
  </code></pre>
  
  <p>When I try to run the game in Chrome I'm still getting this error:</p>
  
  <p><code>XMLHttpRequest cannot load file:///C:/Users/danniu/Desktop/JavaScript/melonJS/data/map/area01.tmx. Cross origin requests are only supported for HTTP.</code> </p>
  
  <p>What am I doing wrong?</p>
  
  <p>Thanks</p>