Flex Httpservice Error #2148
Contents |
Issue Solution Applies to : Flash Player Issue When running a Flash Builder project, the Flash Player throws an exception similar to one
Securityerror: Error #2148:
of the following error messages: *** Security Sandbox Violation *** Connection to file:///swf_file_A.swf only local-with-filesystem and trusted local swf files may access local resources. halted - not permitted from file:///swf_file_B.swf SecurityError: Error #2148: SWF file file:///swf_file_B.swf cannot access local resource file:///swf_file_A.swf. Only local-with-filesystem
Actionscript Error 2148
and trusted local SWF files may access local resources. Flash Player Warning -------------------- Note: If the Flash player displays a "SecurityError" message or blank window when you run your program, you flash global security settings may need to completely exit your browser and try again. The above message may appear on a Windows client while on a Mac client, the message suggests exiting "all browsers" instead of "your browser." The issue is that the first time the Flash player loads into any browser window, it reads the "FlashPlayerTrust" directory to see which local directories may contain trusted SWF files, however, the player will only read this file once. For more information on this andother Flash player security featuresplease see http://www.adobe.com/content/dam/Adobe/en/devnet/flashplayer/pdfs/flash_player_10_security.pdf. Each time you create or import a Flash Builder project whose bin-debug directory is outside of the normal Flash Builder workspace location, Flash Builder adds that bin-debug directory to the list of trusted directories; but if the browser is already running and the Flash player has already read the FlashPlayerTrust information, then your new program won't be trusted, and you will see one of the above error messages. Solution The workaround for this on a Windows client is to exit the browser running a SWF file before starting a new debugging session. On a Mac client, you will have to exit all running browsers (Safari, Firefox, and so on) because they share a single in-memory instance of the Flash player. Twitter™ and Facebook posts are not covered under the terms of Creative Commons. Legal Notices | Online Privacy Policy Flash Player < See all apps Learn & Support Ask the Community Post questions and get answers from experts. Ask now Contact Us Real h
ElementsAdobe Dreamweaver Adobe MuseAdobe Animate CCAdobe Premiere ProAdobe After EffectsAdobe IllustratorAdobe InDesignView all communitiesExplore Menu beginsMeet the expertsLearn our productsConnect with your peersError: You don't have JavaScript enabled. This tool uses JavaScript and much of it will not work correctly without it enabled. Please turn JavaScript back on and reload this page. Please enter a title. You can not post a blank message. Please type your message and try again. More discussions https://helpx.adobe.com/flash-player/kb/flash-builder-flash-player-throws.html in Flex All CommunitiesFlex 0 Replies Latest reply on Feb 20, 2012 5:05 AM by newgen2549 InvokeFailed:Error #2148: newgen2549 Feb 20, 2012 5:05 AM hi all,I get this error and using flex 4.5 and do not know how to fix itcan someone help please, how do https://forums.adobe.com/thread/965195 I fix this?thanks Daniel// Load pods.xml, which contains the pod layout. var httpService:HTTPService = new HTTPService(); httpService.url = "data/pods.xml"; httpService.resultFormat = "e4x"; httpService.addEventListener(FaultEvent.FAULT, onFaultHttpService); httpService.addEventListener(ResultEvent.RESULT, onResultHttpService); httpService.send();// faultevent[SWF] C:\_dashboard\Dashboard2\bin-debug\main.swf - 3,193,154 bytes after decompression*** Security Sandbox Violation ***Connection to data/pods.xml halted - not permitted from file:///C:/_dashboard/Dashboard2/bin-debug/main.swfInvokeFailed:Error #2148: SWF file file:///C:/_dashboard/Dashboard2/bin-debug/main.swf cannot access local resource data/pods.xml. Only local-with-filesystem and trusted local SWF files may access local resources.[Unload SWF] C:\_dashboard\Dashboard2\bin-debug\main.swf I have the same question Show 0 Likes(0) 579Views Tags: none (add) This content has been marked as final. Show 0 replies Actions More Like This Retrieving data ... Legend Correct Answers - 10 points © 2016 Adobe Systems Incorporated. All Rights Reserved. | Powered by Help | Terms of Use | Privacy Policy and Cookies (UPDATED) | Forum Help | Tips for AskingJive Software Version: 8.0.3.0 , revision: 20160218075410.6eafe9c.release_8.0.3.x
Lite Friday FlashLite Flex Flex 2 Best Practice Flex 4 Google Google Apps HTML 5 HTML5 Java Livecycle Data Services Livecycle ES Microsoft Mobile Silverlight Spring Web 2.0 Weblogs See http://casario.blogs.com/mmworld/2006/08/flex_2_runtime_.html More Blogroll Flex Solutions:Essential Tecniques for Flex 3 Developers David Tucker Serge Jesper https://issues.apache.org/jira/browse/FLEX-18883 Koen De Weggheleire Peter Elst Everythingflex Lee Brimelow Leonardo Risuleo AUGItaly Blog Enrique Duvos Ryan Stewart AcrobatUsers.com Flex 3, AIR User Group Wireframe design tool RIAPedia Akku Comtaste Consulting Flex 3, AIR and Livecycle Data Services Consulting Boston FlashLite Mobile UG Wedding in tuscany Christian Halbach Flex 3 and AIR Training Adobe error #2148 LiveCycle Group Scott Janousek UserMatter Magazine Mike Krisher Pasi Manninen Richard Leggett (Mobile) Flash Lite Mobile Developers Biskero Mike Chambers Aule Informatica Roma Bellavite MossyBlog John Dowdell Ben Forta Andrea Veggiani Christian Cantrell Free T Mobile Phones AT&T Cell Phones Recruitment Software Le più belle spiagge d'Italia - Find the most beatiful italian beaches Akkus Flex 3 Training Course in New York, London and Rome Subscribe flex httpservice error my blog Enter your Email here to subscribe : Powered by FeedBlitz Flex 3, AIR, Actionscript 3 Courses Flex 3, and AIR Training Course in New York, London and Rome Adobe AIR Training Course Flex 3 Video Tutorial Developing RIA with Flex 4 and Flash Builder 4 User interface design with Adobe Flash Catalyst Developing RIA with Flex 3 and Flex Builder 3 Enterprise Flex 3 with Java and Livecycle DS Enterprise Flex 3 BlazeDS and Java Developing Flash Media Server 3.5 applications Programming Flex 3 with Actionscript 3 Designing Flex and AIR applications Flex 3 Training Center « Deploy Flex Data Services 2 on BEA WebLogic 9 | Main | Nike Joga Bonito Flash Video site » Flex 2 Run-time error #2148: SWF file _ cannot access local resource With the same configuration on the Flex Builder 2 Eclipse plug in on a laptop I got a strange behavior. Consider the following simple code :
viewing source of air applicationAgile Board ExportXMLWordPrintableJSON Details Type: Bug Status: Closed Priority: Critical Resolution: Fixed Affects Version/s: Adobe Flex SDK Previous Fix Version/s: Adobe Flex SDK Previous Component/s: Spark: Application Labels: None Environment: Affected OS(s): All OS Platforms Language Found: English Description Steps to reproduce: 1. Create an AIR application 2. Export Release Version with View Source 3. Debug 4. Right-click and view source Actual Results: [RPC Fault faultString="Error #2148: SWF file file:///Users/martine/Documents/Adobe Gumbo Preview/airProj/bin-debug/srcview/SourceTree.swf cannot access local resource SourceIndex.xml. Only local-with-filesystem and trusted local SWF files may access local resources." faultCode="InvokeFailed" faultDetail="null"] at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::invoke() at mx.rpc.http.mxml::HTTPService/http://www.adobe.com/2006/flex/mx/internal::invoke() at mx.rpc.http::HTTPService/send() at mx.rpc.http.mxml::HTTPService/send() at SourceTree/startApplication() at SourceTree/___SourceTree_Application1_creationComplete() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/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() Expected Results: Workaround (if any): Activity Ascending order - Click to sort in descending order All Comments Work Log History Activity Transitions Hide Permalink Adobe JIRA added a comment - 27/Jan/12 19:54 Adobe Bug URL: http://bugs.adobe.com/jira/browse/SDK-20723 Original Reporter: martine Original Resolution: Deferred Discoverability: High Number of votes: 0 Regression: Yes Reproducibility: Every Time Resolved by: dloverin Severity: Incorrectly Functioning reporter: martine Show Adobe JIRA added a comment - 27/Jan/12 19:54 Adobe Bug URL: http://bugs.adobe.com/jira/browse/SDK-20723 Original Reporter: martine Original Resolution: Deferr