Hi,
Can anyone assist me as to where i might be going wrong?
I am unable to call back the object into flash.
Here is my actionscript:
Code:
import mx.remoting.*;
import mx.remoting.debug.*;
import mx.rpc.*;

//The helpful Delegate for UI component event listeners
import mx.utils.Delegate;

var GATEWAY_URL:String = "http://localhost/flashservices/gateway.php"
	
var SERVICE_NAME:String = "pmpakContactsEditCompany"
var service:Service;

NetDebug.initialize();
//Create the service
service = new Service(GATEWAY_URL, null, SERVICE_NAME);

var pc:PendingCall = service.editCompany(company_id);
pc.responder = new RelayResponder(this, 'editCompany_Result', null);

editCompany_Result = function(data){
     trace(data.pm_company_id);
}
and my NetDebug results:
Code:
DebugId: "0"
EventType: "Result"
MovieUrl: "file:///C|/wamp/www/graphlogik_flash/admin/contacts.swf"
Protocol: "http"
Source: "Client"
Time: 1159302714546
Date (object #1)
....."Wed Sep 27 06:31:54 GMT+1000 2006"
Result (object #2)
.....pm_company_address_1: ""
.....pm_company_id: "1"
.....pm_company_name: "Graphologik"
.....pm_company_type: "default"
Cheers