PDA

View Full Version : is resultEvent the only way to access your results?


kalel
09-06-2005, 08:29 PM
I have been breaking my head over this and got this solution


var getCombobox_con:Service = new Service("http://localhost/flashservices/gateway",null,"getData_uf",null,new RelayResponder(this,"gotCombobox_Result", "gotCombobox_Fault"));
var pc:PendingCall = getCombobox_con.getComboxitems();

//gotCombobox_Result function called when Service is success

function gotCombobox_Result(re:ResultEvent)
{
trace(re.result)
}


is this the only way I can get to my result? using the resultEvent obj?
is there something else I can use to reference my results from the cfc?

thanks