0 Replies Latest reply on Jan 8, 2012 6:25 PM by lgguts

    Please help: JSON ACCESS: returning undefined

    lgguts

      Hello,

       

      I'm trying to access 4 JSON through Flash/AS2. An year ago I used to be able to use this same code, but now It's not working.

       

      The funny thing is: IT WORKS OFFLINE, when running from Flash. It just doesn't work when I put on my server!

      I wonder if anyone could help me?

       

      Is this a problem at my call?

      Is this a problem at the server configuration?

      Is this a problem on cross-domain access?

       

      Here is the link to this simple example:

      http://www.quando.art.br/projects/testes-requests.html

       

      And bellow is the code of how I'm calling each JSON file:

       

      function callJS()

      {

                lvs = new LoadVars();

                lvs.load("http://feeds.delicious.com/v2/json/tags/lg.guts?count=50");

                lvs.onData = function(jstr:String)

                {

            text1.text = jstr;

                };

      }

       

      Best regards,