1 Reply Latest reply on Sep 5, 2007 9:24 AM by mizutori

    With ExternalInterface, swf crashes by MS-IE 6

    mizutori
      I have compiled a simple swf with ExternalInterface library, using both Flash 3 SDK beta 1 and latest nightly build 20070831 under Windows XP SP2.
      When I put the swf on a remote server and try to view it by MS-IE 6, the swf turns very busy not to accept any response so I got no way to halt the MS-IE.

      In other conditions, as putting on local domain (instead of remote server) or viewing by Firefox (instead of MS-IE) or compiling without ExternalInterface library, it works fine without any problem.

      Does anyone have a workaround for this problem?

      ---[ test_ExternalInterface.as ]---
      package {
      import flash.display.*;
      import flash.text.*;
      import flash.external.ExternalInterface;
      public class test_ExternalInterface extends Sprite {
      public function test_ExternalInterface() {
      if (ExternalInterface.available) {
      ExternalInterface.addCallback("javascript_callback",do_func);
      }
      var textField:TextField = new TextField();
      textField.text = "Hello World!";
      this.addChild(textField);
      }
      private function do_func(param1:int,param1:int):void {
      }
      }
      }
      ---