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 used the jquery hide() function to hide the div containing the uploader, and when I realized that caused the above error, I tried a different approach where I set the The domain your js is hosted on won't matter here, since the browser embeds it on domainA, the script is executed in domainA. This loading seems to work but I can't be sure because I can't interact with the SWF. –Josh Jun 24 '09 at 18:14 add a comment| 6 Answers 6 active oldest http://birdsallgraphics.com/error-calling/error-calling-on-method-from-npobject.php
Are you sure 'trial_end... Anmelden Registrieren Ungelesene Beiträge Unbeantwortete Themen Themen der letzten 24 Stunden Erweiterte Suche Erweiterte Suche Forum Sie haben einen ungültigen oder nicht mehr gültigen Link aufgerufen. share|improve this answer edited Oct 18 '13 at 15:37 answered Apr 24 '11 at 15:38 nuton 91121628 There's the rub, though. Physically locating the server Should spoilers and reverse thrust be deployed before nose gear touches down? http://stackoverflow.com/questions/1038668/cross-domain-externalinterface-error-calling-method-on-npobject
My solution works fine locally, but when I try to run it online, it throws the "Error calling method on NPObject!" message. How can I have low-level 5e necromancer NPCs controlling many, many undead in this converted adventure? I don't want to get lung cancer like you do Coworker being disrespectful in meetings and other areas Is it plagiarims (or bad practice) to cite reviews instead of source material? In my case, it was because I was modifying the DOM element containing the uploader div.
Here's an example of my code:
It can be pretty frustrating the first time you see this error since it's not very informative. SecurityDomain.currentDomain : null); var l:Loader = new Loader(); l.load(new URLRequest("http://example.com/myswf.swf"), context); share|improve this answer answered Jun 26 '09 at 15:33 Alex Jillard 2,2941118 Hi, I have the same problem, I used the jquery hide() function to hide the div containing the uploader, and when I realized that caused the above error, I tried a different approach where I set the How to cope with too slow Wi-Fi at hotel?
were good), but I send to flash bad parameter - just outputed JSON from ajax call. weblink When the SWFs are on the same domain as the HTML, all is well. share|improve this answer answered Sep 4 '11 at 22:00 Mark Bench 1 1 n.b., Flash is aware of when it's visible, so making a movie invisible through the DOM may share|improve this answer answered Apr 19 '11 at 22:53 pixelfreak 10.6k86389 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign
crossdomain.xml is mainly only for loading remote files, which you aren't doing, so you can remove that if you like. (and you probably don't want to have a crossdomain.xml file with You should only need two things for this to work: allowscriptaccess=always System.security.allowDomain("yourhtmldomain.com"); Note that it's System.security.allowDomain() in AS2 - it's not the same as AS3 or what you have written above. Captain.
My SWF and JS/HTML are both on the same page, but this exception is still present :( –DataGreed Apr 5 '11 at 11:30 add a comment| up vote 1 down vote current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list. share|improve this answer answered Sep 4 '11 at 22:00 Mark Bench 1 1 n.b., Flash is aware of when it's visible, so making a movie invisible through the DOM may Keep in mind that www.mydomain.com is different from mydomain.com to Flash.
All that really means is that "something" is going wrong. I have enabled cross-domain scripting; in the webpage at domain B, I have the line params.allowscriptaccess = "always"; and in the application code I have flash.system.Security.allowDomain("*"); and for good measure, flash.system.Security.allowDomain("keonehon.com"); I can't deal with all the SPAM so until I can find a better solution for the forums, I'm locking them down. In both cases, it broke the uploader.
Is the NHS wrong about passwords? 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 number 2 above allows the html page on domainA to call things in the swf on domainB. thank you.