Error #2028 Local-with-filesystem Swf
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow untrusted local swfs may not contact the internet the company Business Learn more about hiring developers or posting ads with us Stack the flash 2018 Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up SecurityError: Error #2028: Local-with-filesystem SWF file up vote 0 down vote favorite 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:
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a http://stackoverflow.com/questions/24887157/securityerror-error-2028-local-with-filesystem-swf-file minute: Sign up Error 2028 when trying to link to URLs from a SWF up vote 0 down vote favorite I'm trying to create an interactive map for a farmers market. The user hovers the cursor over the stands and the farm and farmer's names pop up. When clicked the button redirects the user to the farmer's page on the bloomington.in.gov website. http://stackoverflow.com/questions/25193549/error-2028-when-trying-to-link-to-urls-from-a-swf The .swf reads a .xml file for the farmer/farm/url data, so the .swf can be more dynamic. The .swf will sit somewhere on the bloomington.in.gov domain, but I don't have access to it to test if it will work on there. As a result I'm trying to test the .swf by running it from a flash drive on different computers in either adobe flash player or chrome. Everything seems to function when I test the file in Adobe Flash, but when I try to publish the .swf and run it in Adobe Flash Player I get this error message: SecurityError: Error #2028: Local-with-filesystem SWF file file:///G|/FarmersMarketMap/FarmersMarketMap2.swf cannot access Internet URL https://bloomington.in.gov/documents/viewDocument.php?document_id=7483. at global/flash.net::navigateToURL() at MethodInfo-7() The xml file seems to load because the farm/farmer names show up, however there seems to be this security issue with the URLs. I've played flash games that linked me to external websites. Why is what I'm trying to do not allowed? I've tried the internet's various suggestions: crossdomain xml policies Adobe flash publishing settings Security.allowDomain("*"); changing html allowScriptAccess to "always" Alternatively, when the .swf is finally embedded i
using your existing account on the new forums, check out this thread. Register Help Remember Me? Forum Today's Posts FAQ Calendar Forum https://www.kirupa.com/forum/showthread.php?340572-Connect-to-internet-from-Local Actions Mark Forums Read Quick Links View Forum Leaders What's New? Advanced Search Forum Flash ActionScript 3 Connect to internet from Local? Results 1 to 4 of 4 Thread: Connect to internet from Local? Thread Tools Show Printable Version Subscribe to this Thread… Search Thread Advanced Search Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode December error #2028 14th, 2009,05:26 AM #1 zhaniko93 View Profile View Forum Posts 5 posts Registered User Connect to internet from Local? Hi all. I need to connect to internet from local file. when I try, I get warning about trying to connect to internet and the when I hit 'OK', I get error: SecurityError: Error #2028: Local-with-filesystem SWF file file:///D|/Flash/proj2/game.swf cannot access error #2028 local-with-filesystem Internet URL http://localhost/flash/proj1/upload_score.php. at flash.net::URLStream/load() at flash.net::URLLoader/load() at game_fla::MainTimeline/frame2() at flash.display::MovieClip/gotoAndStop() at game_fla::MainTimeline/checkmyhit() at game_fla::MainTimeline/moveChar() All I try is to connect to localhost with URLLoader and get data from there. here is my code: Code: var rqst:URLRequest = new URLRequest('http://localhost/flash/proj1/upload_score.php'); var ldr:URLLoader = new URLLoader(); ldr.addEventListener(Event.COMPLETE, cmplloading); ldr.load(rqst); function cmplloading(e:Event) { trace(ldr.data); } Is there any way to connect to Internet from local? If I upload this page on web, it works fine but I need local connection. Reply With Quote December 14th, 2009,08:43 AM #2 IQAndreas View Profile View Forum Posts Visit Homepage 2,823 posts Theoretical Deveoper Do you have a web service such as "Apache" running which can interpret the PHP and handle the code correctly. Are you able to display the PHP page by browsing to it in your browser, even if it just displays a blank page? Note what you are doing is VERY different from accessing a local file: var rqst:URLRequest = new URLRequest('c:\flash\proj1\upload_score.php'); or var rqst:URLRequest = new URLRequest('flash\proj1\upload_score.php'); If you access it as a local file, it will treat the PHP page