18673

SecurityError: Error #2028: Local-with-filesystem SWF file

Question:

I don't know how to tell the flash to let the swf file get connected. I used the crossdomain.xml as well but nothing have changed. here is the xml code:

<?xml version="1.0"?> <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd"> <cross-domain-policy> <allow-access-from domain="*" /> </cross-domain-policy>

and here is the error on the swf file when i run it from my own computer(this one solved):

SecurityError: Error #2028: Local-with-filesystem SWF file file:///*/index.swf cannot access Internet URL http://maps.googleapis.com/*. at flash.display::Loader/_load() at flash.display::Loader/load() at BootstrapConfiguration/loadAddingAcceptLanguageHeaderIfAir() at com.google.maps::ClientBootstrap/loadUrl() at com.google.maps::ClientBootstrap/internalLoadBootstrap() at com.google.maps::ClientBootstrap/executeNextFrameCalls() at flash.utils::Timer/_timerDispatch() at flash.utils::Timer/tick()

and here is error when i run the swf file from the website:

Initialization failed: please check the API key, swf location, version and network availability.

what should i do now!?

Answer1:

Try to set "-use-network=true" in compiler's options or appropriate option in your IDE. It may help.

Recommend

  • Error #2130 Unable to flush sharedObject
  • Can we call methods with parameters in Struts2 fieldexpression?
  • Selenium: Can i test if a page loaded a flash app (ie a swf) properly?
  • Adobe Flash and Python
  • How to perform XML Validation when using ModelDriven?
  • .swf positionning is not contained on page, in chrome
  • Interceptor not getting called in Struts
  • Setting up Subversion Server on Mac OS mountain lion (have access via browser, but un-able to checko
  • Login form issue with spring security 2.0.7 and spring 2.5
  • Dynamic Event Handler not Firing
  • a:first-child modifying all links within my list
  • Laravel Impossible to Create Root Directory
  • Hibernate - Cannot connect to DB
  • How to protect the mp3 file from read or copy on Android?
  • Mapping two workspace folders to the same working directory
  • Is there a way to dynamically embed PDF Files in a JSP pulled from the file system?
  • ADO and msqli connections very slow
  • PHP buffered output depending on server setting?
  • Optimizing database types to compact database (SQLite)
  • Cross-Platform Protobuf Serialization
  • Do I've to free mysql result after storing it?
  • Apache 2.4 - remove | delete | uninstall
  • Warning: Can't call setState (or forceUpdate) on an unmounted component
  • SVN: Merging two branches together
  • Hibernate gives error error as “Access to DialectResolutionInfo cannot be null when 'hibernate.
  • bootstrap to use multiple ng-app
  • How to get icons for entities from eclipse?
  • Windows forms listbox.selecteditem displaying “System.Data.DataRowView” instead of actual value
  • Unit Testing MVC Web Application in Visual Studio and Problem with QTAgent
  • Benchmarking RAM performance - UWP and C#
  • Hits per day in Google Big Query
  • FormattedException instead of throw new Exception(string.Format(…)) in .NET
  • How to CLICK on IE download dialog box i.e.(Open, Save, Save As…)
  • Can Visual Studio XAML designer handle font family names with spaces as a resource?
  • Turn off referential integrity in Derby? is it possible?
  • Linking SubReports Without LinkChild/LinkMaster
  • Are Kotlin's Float, Int etc optimised to built-in types in the JVM? [duplicate]
  • XCode 8, some methods disappeared ? ex: layoutAttributesClass() -> AnyClass
  • JaxB to read class hierarchy
  • costura.fody for a dll that references another dll