Below is how we generally communicate between Actionscript and CFCs.
(this is obviously just the actionscript side of things) It's just an
example but it should help you overall.
var Colors:Service = new Service(
TERMINALstation,
null,"availability",null,
new RelayResponder(this, "Details_Result"));
function Details(MerchID) {
Colors.GetColors({tempMERCHID:MerchID});
}
var gotName:Array = Array();
var gotCode:Array = Array();
function Details_Result( re:ResultEvent ) {
_root.counter = re.result.COUNTER;
for (i=1;i<=_root.counter;i++) {
tempname = "re.result.got"+i+".Name";
tempcode = "re.result.got"+i+".Code";
_root.gotName[i] = eval(tempname);
_root.gotCode[i] = eval(tempcode);
};
_root.loadingDock.ITEMSdisplay();
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Houston ColdFusion
Users' Group" discussion list.
To unsubscribe, send email to [EMAIL PROTECTED]
For more options, visit http://groups.google.com/group/houcfug?hl=en
-~----------~----~----~----~------~----~------~--~---