title: Swf game loading infinity?
body: <p>i tried to create a swf game. It worked perfectly on my old host and domain. But when i moved my game to new host and domain, it doesn't show loading progress on firefox and with google chrome, it stops working with 'Loading Infinity%'.</p>
  
  <p>Here is my game: <a href="http://afcvn.myarsenal.net/afcvn/swf_games/game_matching.swf" rel="nofollow">http://afcvn.myarsenal.net/afcvn/swf_games/game_matching.swf</a></p>
  
  <p>And this is my loading code and i export classes in frame 2:</p>
  
  <pre><code>stop();
  
  this.addEventListener(Event.ENTER_FRAME, loading);
  
  function loading(e:Event):void {
  
      var total:Number = this.stage.loaderInfo.bytesTotal;
      var loaded:Number = this.stage.loaderInfo.bytesLoaded;
  
      progressBar.scaleX = loaded/total;
      loader_info.text = "Loading "+Math.floor((loaded/total)*100)+ "%";
  
      if (total == loaded) {
          play();
          this.removeEventListener(Event.ENTER_FRAME, loading);
      }
  
  }
  </code></pre>
  
  <p>I added a crossdomain.xml: <a href="http://afcvn.myarsenal.net/crossdomain.xml" rel="nofollow">http://afcvn.myarsenal.net/crossdomain.xml</a></p>
  
  <p>Can anybody help? Highly appreciate! :)</p>