1 Reply Latest reply on Jul 5, 2006 8:15 AM by bdeitte

    ExternalInterface can't work in firefox?

    wlt008
      Today I updated to the final version of flex builder2. but my code can't run when using ExternalInterface on firefox windows version. the code:
      ExternalInterface.addCallback("search", function(){});
      would throw an error:

      SecurityError: Error #2060: Security sandbox violation: ExternalInterface caller file:///D:/cygwin/home/wlt/work/mubot_svn/client_search/bin/MubotSearch-debug.swf cannot access file:///D:/cygwin/home/wlt/work/mubot_svn/client_search/bin/MubotSearch-debug.html.
      at flash.external::ExternalInterface$/flash.external:ExternalInterface::_initJS()
      at flash.external::ExternalInterface$/addCallback()
      at MubotSearch$iinit()[D:\cygwin\home\wlt\work\mubot_svn\client_search\MubotSearch.as:40]

      but in beta3, it can work correctly.

      is there anyone knows why?