Error 2028 As3
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 -- untrusted local swfs may not contact the internet. more about Stack Overflow the company Business Learn more about hiring developers or posting the flash 2018 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 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 minute: Sign up Flash, SecurityError: Error #2028: Local-with-filesystem SWF cannot access Internet URL up vote 0 down vote favorite http://stackoverflow.com/questions/24887157/securityerror-error-2028-local-with-filesystem-swf-file There is a number of flashfiles that my application is very much dependent of, and unfortunately, when i am trying to run my app on a server different from the one we have been developing it on, i get the following error: SecurityError: Error #2028: Local-with-filesystem SWF file file:///C|/Users/user/Desktop/flash/flash.swf cannot access Internet URL rtmp://192.168.1.33/rtmp I tried adding the crossdomain.xml file to the server, however, it doesn't work. Is there anything i can http://stackoverflow.com/questions/12093375/flash-securityerror-error-2028-local-with-filesystem-swf-cannot-access-inter do to allow that file to access that stream? Thank you in advance. flash security share|improve this question asked Aug 23 '12 at 13:58 Ibolit 3,25342654 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote accepted Well, this is what worked for me: adding the following crossdomain.xml:
Even though it is not quite secure in my case. share|improve this answer answered Sep 3 '12 at 6:51 Ibolit 3,25342654 where i need to add this file in SWF source location? –SarwarCSE Oct 8 '13 at 6:03 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged flash security or ask your own question. asked 4 years ago viewed 3183 times active 4 years ago Linked 1 how to embed symboles IDs stored into external swf file into my swf app? Related 0Flash Security Error Accessing URL with crossdomain.xml0Relaxing Flash secur
using your existing account on the new forums, check out this thread. Register Help Remember Me? Forum Today's Posts FAQ Calendar Forum Actions Mark Forums Read Quick Links View https://www.kirupa.com/forum/showthread.php?340572-Connect-to-internet-from-Local 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 https://recalll.co/app/?q=actionscript%203%20-%20SecurityError%3A%20Error%20%232028%3A%20Local-with-filesystem%20SWF%20file%20-%20Stack%20Overflow to this Thread… Search Thread Advanced Search Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode December 14th, 2009,05:26 AM #1 zhaniko93 View Profile View Forum Posts 5 posts Registered error 2028 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 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 error 2028 as3 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 as a text document, not a service. You can only treat it as a service if you have a program such as Apache installed. If all else fails and you have a service running, try this: var rqst:URLRequest = new URLRequest('http://127.0.0.1/
my problem. now with the cfg file in my flash player security folder the swf file works fine on my computer and the error went away. but i still have the same problem on the website. OK it has 2 options: 1.Access Network Only 2.Access Local Files Only. and i used both options but i still have the problem on my website. i also write this code at the first frame: Security.allowDomain("*"); Security.LOCAL_WITH_NETWORK; Security.loadPolicyFile("daniel-3dpanel.ir/crossdomain.xml"); actionscript 3 - SecurityError: Error #2028: Local-with-filesystem SWF... View More at http://stackoverflow.com/questions/24887157/securityerror-error-2... If you're using the FlexSDK (with or without any IDE), you need to set the -use-network compiler flag to false: -use-network=false You can read more about the different security sandboxes here. actionscript 3 - flash SecurityError: Error #2028: Local-with-filesyst... View More at http://stackoverflow.com/questions/11254183/flash-securityerror-e... Have you considered wrapping your application as air actionscript 3 - flash SecurityError: Error #2028: Local-with-filesyst... View More at http://stackoverflow.com/questions/11254183/flash-securityerror-e... [EDIT] Why not use video into a video format, like FLV ? SWF is not as optimized for video as FLV is. The loaded SWF have only a static video into it's timeline, or have any programming on it? Maybe you're dealing with a SWF with code which makes it play it's video. If that's the case, you can access public methods from it and control it. var video:MovieClip = new videoClass() as MovieClip; parentObject.addChild(video); ... video.publicMethodToStopAllMedia(); parentObject.removeChild(video); The video is a flv file converted to swf using any-video-converter.com/products/for_video_free so I don't think it has any code in it. (Made an edit) Can you publish a sample of those files? actionscript 3 - Stop embedded swf file - Stack Overflow View More at http://stackoverflow.com/questions/10231408/stop-embedded-swf-fil... I found the issue with your application based on the code you provided via DropBox. And just as I suspected, the stage property was being referenced before the object's addition to the stage was comp