|
Here is where the connection is setup in the main file: <mx:RemoteObject id="mr_cfc" endpoint="http://cfxtest.research.unc.edu/flashservices/gateway" source="mr.mr_cfc" fault="mx.controls.Alert.show(event.fault.faultstring)" showBusyCursor="true" > <mx:method name="get_people" result="doResultGetPeople(event.result)" /> <mx:method name="get_person" result="doResultGetPerson(event.result)" /> <mx:method name="get_tech_search" result="doResultGetTechSearch(event.result)" /> <mx:method name="get_tech_detail" result="doResultGetTechDetail(event.result)" /> <mx:method name="get_tech_events" result="doResultGetTechEvents(event.result)" /> <mx:method name="get_tech_inventors" result="doResultGetTechInventors(event.result)" /> <mx:method name="get_tech_patents" result="doResultGetTechPatents(event.result)" /> <mx:method name="get_tech_agreements" result="doResultGetTechAgreements(event.result)" /> <mx:method name="get_tech_financeIncurred" result="doResultGetTechFinanceIncurred(event.result)" /> <mx:method name="get_tech_expense1" result="doResultGetTechExpense1(event.result)" /> <mx:method name="get_tech_expense2" result="doResultGetTechExpense2(event.result)" /> <mx:method name="get_tech_expense3" result="doResultGetTechExpense3(event.result)" /> <mx:method name="get_tech_financeIncome" result="doResultGetTechFinanceIncome(event.result)" /> <mx:method name="get_tech_financeProjected" result="doResultGetTechFinanceProjected(event.result)" /> </mx:RemoteObject> Here is some of the .as code //************* Events ***************** private function getTechEvents():Void { mr_cfc.get_tech_detail(tech_key); } private function doResultGetTechEvents(result:Array):Void { var TempObject:Object = new Object(); var TempArray:Array = new Array(); for(var i=0; i < result.length; i++){ TempObject = result[i]; TempArray.push(TempObject); } otd_tech_events_grid.dataProvider = TempArray; } David Harris wrote: There are a couple of ways I have used to debug calls to CFCs... -- Greg Johnson Owner & Lead Technician [EMAIL PROTECTED] Techno-Fix-It Filling the Gap Between the Store and the Repair Shop ---------------------- www.technofixit.com Phone:(919)-371-1476 Fax:(919)-882-9804 P.O. Box 1094 Morrisville, N.C. 27560 -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
|
- Re: [flexcoders] Calls to CFCs Greg Johnson
- Re: [flexcoders] Calls to CFCs Muzak
- Re: [flexcoders] Calls to CFCs David Harris
- RE: [flexcoders] Calls to CFCs Peter Farland
- Re: [flexcoders] Calls to CFCs Greg Johnson
- RE: [flexcoders] Calls to CFCs Peter Farland
- Re: [flexcoders] Calls to CFCs Greg Johnson
- RE: [flexcoders] Calls to CFCs Peter Farland
- Re: [flexcoders] Calls to CFCs Greg Johnson
- RE: [flexcoders] Calls to CFCs Peter Farland
- Re: [flexcoders] Calls to CFCs Greg Johnson

