5 Replies Latest reply on Aug 16, 2006 3:20 AM by Star_Tail_Pro

    Something weird?

    Star_Tail_Pro Level 1
      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: