0 Replies Latest reply on Jul 14, 2006 8:57 AM by craftymind

    Offline security error thrown with ExternalInterface

    craftymind
      I'm getting the following error thrown when calling ExternalInterface.addCallback() for one of our users, the files are running locally on his machine.

      SecurityError: Error #2060: Security sandbox violation: ExternalInterface caller file:///C:/Documents and Settings/ghouston/My Documents/mccdemo/templating/MCC.swf cannot access file:///C:/Documents and Settings/ghouston/My Documents/mccdemo/templating/MCC.html.
      at flash.external::ExternalInterface$/flash.external:ExternalInterface::_initJS()
      at flash.external::ExternalInterface$/addCallback()
      at MCC/startApp()
      at MCC/___Application1_applicationComplete()
      at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.managers::SystemManager/::preloader_preloaderDoneHandler()
      at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.preloaders::Preloader/::displayClassCompleteHandler()
      at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.preloaders::DownloadProgressBar/::timerHandler()
      at mx.preloaders::DownloadProgressBar/::initCompleteHandler()
      at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.preloaders::Preloader/::dispatchAppEndEvent()
      at mx.preloaders::Preloader/::appCreationCompleteHandler()
      at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.core::UIComponent/set initialized()
      at mx.managers::LayoutManager/::doPhasedInstantiation()
      at Function/ http://adobe.com/AS3/2006/builtin::apply()
      at mx.core::UIComponent/::callLaterDispatcher2()
      at mx.core::UIComponent/::callLaterDispatcher()


      Notice that both the swf and the html file reported are in the same directory. Also, ExternalInterface.available returns true for the user. Anyone have any ideas?