getJSON on WordPress Page

Turns out the issue was not with WordPress but with the PHP Configuration. allow_url_fopen was set to off on the server, whereas on the localhost it was on. When I updated that, the script worked fine. Thank you.

jQuery ajax empty exeption on wordpress

As I said in the comments. The problem was on api side. Error: (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). How to solve: Add this to .htaccess of api <IfModule mod_headers.c> Header set Access-Control-Allow-Origin: myUrl </IfModule>

Call a Simple JQuery from within Flash

Use AS3’s ExternalInterface to call JavaScript functions from within Flash applications. import flash.external.ExternalInterface; if (ExternalInterface.available) ExternalInterface.call(“myJavascriptFunction”, param1, param2);