1 Reply Latest reply on Aug 4, 2006 2:24 AM by Newsgroup_User

    Something weird?

    Star_Tail_Pro
      Right. I am using AMFPHP for flash -> php but for some odd reason its coming up with errors but i put the code in as i normally do from the AMFPHP browser.

      I'm sure there is nothing wrong but its hard to find one mistake or more in code so second pair of eyes may help. At the moment i'm blaming it on the fact i have flash player 9 as that is really the only thing that could change actionscript way of working. It also could be extensions i have added but i turned them off.

      This is very unusaul? (i bet i spelt unusual wrong)

      Here are the errors:
      **Error** Scene=Scene 1, layer=AMFPHP, frame=1:Line 19: The class or interface 'PendingCall' could not be loaded.
      var pc:PendingCall = service.read();

      **Error** Scene=Scene 1, layer=AMFPHP, frame=1:Line 26: The class or interface 'PendingCall' could not be loaded.
      var pc:PendingCall = service.add(date, name, text);

      **Error** Scene=Scene 1, layer=AMFPHP, frame=1:Line 34: The class or interface 'PendingCall' could not be loaded.
      var pc:PendingCall = service.del(id);

      **Error** Scene=Scene 1, layer=AMFPHP, frame=1:Line 39: The class or interface 'ResultEvent' could not be loaded.
      function handleRead(re:ResultEvent)

      **Error** Scene=Scene 1, layer=AMFPHP, frame=1:Line 65: The class or interface 'ResultEvent' could not be loaded.
      function handleAdd(re:ResultEvent)

      **Error** Scene=Scene 1, layer=AMFPHP, frame=1:Line 70: The class or interface 'ResultEvent' could not be loaded.
      function handleDel(re:ResultEvent)

      Total ActionScript Errors: 6 Reported Errors: 6

      and here is the code:
        • 1. Re: Something weird?
          Level 7
          You are just talking to yourself. Have you checked your palms for hair
          recently?

          I haven't used AMFPHP, but to me it looks as though you haven't set your
          class paths to reflect the location of your AMFPHP classes...



          --
          -------------------------------
          Remove '_spamkiller_' to mail
          -------------------------------