Check out the ACT pattern in the docs. You want to look at the return value of each of those calls to getList, it's an asynchronous token on which you can place whatever data you want (including the arguments to the method call). That object is then available to you again in the ResultEvent as event.call.
Matt -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Nakagaki Shigeru Sent: Monday, December 19, 2005 7:11 PM To: [email protected] Subject: [flexcoders] How do we judge CFC's method arguments of RemoteObject from ResultEvent?? Hi. How do we judge CFC's method arguments of RemoteObject from ResultEvent?? Any ideas? Need a trick? Here is code. <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml" xmlns="*" creationComplete="initApp()"> <mx:Script> <![CDATA[ import mx.rpc.events.ResultEvent; private function initApp():Void { roLCM.getList.addEventListener("result",this.loadList); roLCM.getList(1); roLCM.getList(2); roLCM.getList(3); roLCM.getList(4); } private function loadList(evt:ResultEvent):Void { // evt.result is only ArrayCollection // How do we judge that this ResultEvent is argument "1" event?? } ]]> </mx:Script> <!-- ColdFusion CFC (via AMF) --> <mx:RemoteObject id="roCFC" destination="CFCdes" showBusyCursor="true"> <method name="getList" /> </mx:RemoteObject> <mx:Canvas width="100%" height="100%"> </mx:Canvas> </mx:Application> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links ------------------------ Yahoo! Groups Sponsor --------------------~--> Most low income homes are not online. Make a difference this holiday season! http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

