Skip View 1 Replies ActionScript 3.0 :: Socket Connection Cross-domain - "Error #2048" Feb 3, 2009 I made simple java server on one pc and tried to contact it from another pc Is there a word in Esperanto for "lightsaber"? javascript flash actionscript-2 externalinterface share|improve this question edited May 24 '12 at 15:50 lord_t 1,92921536 asked Jun 24 '09 at 14:17 Josh 8,39274489 Are you loading up more than

share|improve this answer answered Feb 4 '11 at 13:01 lord_t 1,92921536 add a comment| up vote 0 down vote Using AS3 with Flash Player version 10 I could not get ExternalInterface.addCallback() weblink Can anyone explain why my normals have a mind of their own Can Tex make a footnote to the footnote of a footnote? were good), but I send to flash bad parameter - just outputed JSON from ajax call. Already have an account?

I did some digging, and found that by creating a crossdomain.xml file on domaintwo.com that granted access to domainone.com, this fixed it. From my research, this is a cross-domain issue, but I have cross-domain policies all over the place and it's still doing it. Not the answer you're looking for? navigate here I have done all of the following: The embed tag has allowScriptAccess="always" (and the object has that as a param) My SWF file's actionscipt has Security.allowDomain("*") My SWF also calls Security.allowInsecureDomain("*")

I suppose that is a security issue on the server end (Google's flash base).Since that jsFiddle code is hosted on a domain, the note at the very bottom of the documentation Any suggestions? –Chen Harel Nov 11 '10 at 15:37 add a comment| up vote 1 down vote for me a few reason was (i'm using uploadify): http server haven't permission to I finally got my local copy working by adding the parameter "allowNetworking" with a value of "all" (http://www.adobe.com/livedocs/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00001079.html).

Re: Error calling method on NPObject kglad Oct 24, 2010 8:47 AM (in response to chook_rl) what's your url?

when i put the crossdomain.xml on the root folder of the swf i dont see any requests to this file in an http sniffer. Not the answer you're looking for? Can 'it' be used to refer to a person? I will post snippets.P.s.When I use the function from Javascript the Flash console prints:*** Security Sandbox Violation ***SecurityDomain 'https://sub.domain.com/index.html' tried to access incompatible context 'https://sub.cloudfront.net/Login.swf' I guess this is the problem..

Could be calling the wrong function, could be wrong number of params, could be security. Use a try/catch block to find error.]. A power source that would last a REALLY long time Unix command that immediately returns a particular return code? http://birdsallgraphics.com/error-calling/error-calling-on-method-from-npobject.php In my case it looks like somehow, there is an incorrect number of arguments getting passed, and I'm not sure how this is happening (intermittently), but that's for another question. :)

Use A Try/catch Block To Find Error? Why are three-bladed helicopters relatively rare? They are big clients who we cannot tell to just use Firefox. How do I get it working in scenario 3?

Join them; it only takes a minute: Sign up How do I fix this cross-domain ActionScript 3 error? Tenant claims they paid rent in cash and that it was stolen from a mailbox. I just had it in library (i.