Re: [flexcoders] SecurityError: Error #2121
I allowed every single combination i could think of: domain.com http://domain.com; http://www.domain.com; www.domain.com and so on, even * Still the same error :( On 29 June 2010 06:35, Alex Harui aha...@adobe.com wrote: In Flash, “domin” is not “domain” is not “domain.com” On 6/28/10 3:34 PM, Clark Stevenson a.scots...@gmail.com wrote: Hi everyone. My problem seems pretty simple. Im trying to load a SWF into a SWFLoader in FB4. I get this error in the debug view locally, but also when on the test server. SecurityError: Error #2121: Security sandbox violation: Loader.content: http://domin/dir/tool.swf/[[DYNAMIC]]/2http://domin/dir/tool.swf/%5B%5BDYNAMIC%5D%5D/2cannot access http://domain/dir/dir/2.swf. This may be worked around by calling Security.allowDomain. I am not trying to pull SWFs from any other swf. I have a * in my crossdomain.xml I have set: Security.allowDomain(domain.com http://domain.com ); In the creation complete event. Hmm does anyone know how i can solve this? I googled it and went through the first 2 pages, tried loading a policy file, and a few other things. Its a new server, so maybe i have missed something in my setup as i have never run into this before. Thanks. -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
Re: [flexcoders] SecurityError: Error #2121
Hey your right :) If i goto http://domain.com/tool.html It will throw errors when loading SWFs but if i goto: http://www.domain.com/tool.html It works perfectly. Never seen that before so its new to me. Thanks for your input. Clark. On 29 June 2010 09:09, Clark Stevenson a.scots...@gmail.com wrote: I allowed every single combination i could think of: domain.com http://domain.com; http://www.domain.com; www.domain.com and so on, even * Still the same error :( On 29 June 2010 06:35, Alex Harui aha...@adobe.com wrote: In Flash, “domin” is not “domain” is not “domain.com” On 6/28/10 3:34 PM, Clark Stevenson a.scots...@gmail.com wrote: Hi everyone. My problem seems pretty simple. Im trying to load a SWF into a SWFLoader in FB4. I get this error in the debug view locally, but also when on the test server. SecurityError: Error #2121: Security sandbox violation: Loader.content: http://domin/dir/tool.swf/[[DYNAMIC]]/2http://domin/dir/tool.swf/%5B%5BDYNAMIC%5D%5D/2cannot access http://domain/dir/dir/2.swf. This may be worked around by calling Security.allowDomain. I am not trying to pull SWFs from any other swf. I have a * in my crossdomain.xml I have set: Security.allowDomain(domain.com http://domain.com ); In the creation complete event. Hmm does anyone know how i can solve this? I googled it and went through the first 2 pages, tried loading a policy file, and a few other things. Its a new server, so maybe i have missed something in my setup as i have never run into this before. Thanks. -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
Re: [flexcoders] SecurityError: Error #2121
In Flash, “domin” is not “domain” is not “domain.com” On 6/28/10 3:34 PM, Clark Stevenson a.scots...@gmail.com wrote: Hi everyone. My problem seems pretty simple. Im trying to load a SWF into a SWFLoader in FB4. I get this error in the debug view locally, but also when on the test server. SecurityError: Error #2121: Security sandbox violation: Loader.content: http://domin/dir/tool.swf/[[DYNAMIC]]/2 cannot access http://domain/dir/dir/2.swf. This may be worked around by calling Security.allowDomain. I am not trying to pull SWFs from any other swf. I have a * in my crossdomain.xml I have set: Security.allowDomain(domain.com http://domain.com ); In the creation complete event. Hmm does anyone know how i can solve this? I googled it and went through the first 2 pages, tried loading a policy file, and a few other things. Its a new server, so maybe i have missed something in my setup as i have never run into this before. Thanks. -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
Re: [flexcoders] SecurityError
There may be bad news on the horizon. There was a way to get around this a while ago by adjusting the allowscriptaccess¹ parameter in your html output to always.¹ If you¹ve already tried this without success... then you are probably hitting crossdomain issues. Flash knows what page¹ it is on and where it is being accessed from if what you are doing violates a crossdomain policy I can guarantee that any solution you find won¹t work for everyone or for very long. Can you post a little bit about what you are trying to do? There might be a more creative¹ way to get around the error. What kinds of things have you already tried? Rick Winscot On 12/11/08 11:09 PM, dialogtmp dialog...@yahoo.com.tw wrote: hello all, I meet a big trouble. I use flex to development firefox addon. It's ok when I run the html which compliled by flex. But when I package it to a firefox addon, it occurs SecurityError: Error #2060. Could you tell how to process this error? I'm really nerver-racking thanks, dialogtmp
Re: [flexcoders] SecurityError #2048 20 seconds after Socket closure.
Samuel, Don't know if this is helpful, but when working with URLStream, we ran into a situation where calling close() did not actually do anything (i.e., it did not issue a TCP FIN--we watched for this with tcpdump). We did not encounter any security errors, so I don't know if this is related, but I think the easiest way to figure out what's going on might be to break out something like tcpdump or Wireshark... -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: Samuel Loretan [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] SecurityError #2048 20 seconds after Socket closure. Date: Thu, 02 Oct 2008 11:48:22 - Hello, I've met a very unexpected problem with a Socket connection. I'm very used to client-server communication, and it's the first time I encounter such behaviour. I have an AS3 application, connected to a custom Java server using the Socket class. The server is run on a distant computer (let's say its hostname is 'javaserver'), listening on port , along with a crossdomain server which deliver an authorization XML on port 843 (allow-access-from domain=* to-ports=*/). On the client computer, I have a FlashPlayerTrust file that allow my SWF to be on the Trusted sandbox. The connection works just fine. I can send and receive binary data perfectly. At a given time in my communication exchange, the server closes the socket. The CLOSE event is thrown in my Flash application correctly. But 20 seconds after that (precisely 20s), my closed connection throws a SecurityError #2048 : Error#2048: Security Sandbox violation. Cannot load resource from javaserver:. I can't figure why this is happening. In my experience, and according to the documentation, a SecurityError (or a SECURITY_ERROR event, if listened) can be thrown only when using connect() with a non- authorized distant host (which is not the case, since my SWF is in the Trusted sandbox), or while connecting to a port below 1024 on a Web execution context (which is not my case, since I use a connection to the port , using a Standalone player). This problem is happening with the Standalone Flash Player 10.0.0 b591, but also with the Player 9.0.124. Any idea? Thank you very much.
RE: [flexcoders] SecurityError: Error #2060: Security sandbox violation
There's a recent thread that has the asnwer From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of windsail05 Sent: Monday, August 18, 2008 8:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] SecurityError: Error #2060: Security sandbox violation Struggling to figure out this problem. When I run a project using an External Interface from the default workspace it runs fine, but when I try to create it in a new workspace or run it from a different location it fails with this error: SecurityError: Error #2060: Security sandbox violation I have read all the other posts and they do not seem to address the problem I am having