Ok here’s the problem i really really hope someome can help me on this. I am trying to load data using flash remoting from a mysql database via php using amfphp, i have an event listener that waits for a combobox to be used and changed, once it does, the data in there should be sent to the backend part of the system via flash remoting using PendingCall and once done should retrieve the data and place it into a second combobox. but it doesn’t work, atleast the bit where it’s supposed to place the data into the combobox, the final step doesn’t seem to work and i can’t understand for the love of me why, can anyone shed some light on it cus it’s been drivin me crazy all night.
var sectionListener:Object = new Object();
sectionListener.change = function(){
trace(“1”);
sectionCode = addSubSection.sectionsCmb.getSelectedItem().data;
loadSubs(sectionCode);
}
addSubSection.sectionsCmb.addEventListener(“change”, sectionListener);
function loadSubs(sectionCode:String){
trace(“2”);
var lss:PendingCall = moduleManager.returnSubSections(sectionCode);
lss.responder = new RelayResponder(this, ‘handleLoadSubs’, ‘handleFault’);
}
function handleLoadSubs(re:ResultEvent){
trace(“3”);
DataGlue.bindFormatStrings(addSubSection.subsectionsCmb, re.result, “#subsection#”, “#subsection_id#”);
}