Dear Santhosh , Pradhyuman and Abhinav Mehta Thanks for your responses . Santhosh code helped me for AMFPHP.
Once again thank you all for your responses Regards Kiran On Thu, Mar 18, 2010 at 1:47 AM, Abhinav Mehta <mehta.88...@gmail.com>wrote: > Hello Kiran > > I never worked with RemoteObjects, but if I am not wrong than your this > below code is trying to make a RPC call to remote-server, and getting the > result-output to updateUser(). If this is the case, than following as3 code > may help you- > > package { > import flash.net.NetConnection; > import flash.net.Responder; > > private connection myConn:NetConnection; > public class Test > { > myConn = new NetConnection(); > myConn.connect("http://.......or resource-address"); > var resultData:Responder = new Responder(thisFunctionCalledToGetResult, > thisFunctionCalledIfAnyError); > myConn.call("....your class.function name ...); // NOTE: the statement > should be written in CLASS.FUNCTION format only. To make this kind of > connection, you will be need to make your php-code in OOPs, and php > very-well supports OOPs concept. > } > > private function thisFunctionCalledToGetResult(result:Object): void { > trace (result.flash + " " + result.actionscript); > } > private function thisFunctionCalledIfAnyError(result:Object): void { > trace (result.flash + " " + result.actionscript); > } > } //end of the program > > > NOTE: I have used some bad-names for function, just to make you clear there > purposes. > > -- > Regards > Abhinav Mehta > Developer | Blu > Bangalore | INDIA > > On Thu, Mar 18, 2010 at 6:45 AM, Kiran Kumar Vasireddy < > kiranv...@gmail.com> wrote: > >> Dear All, >> >> Could any body please give me a link or suggest me the code for the >> following equivalent code in Action Script? >> >> <mx:RemoteObject id="amfReg" destination="amfphp" >> source="UserData.UserData"> >> <mx:method name="updateUser" result="updateUser(event)" >> /> >> </mx:RemoteObject> >> >> >> Regards >> Kiran >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Flex India Community" group. >> To post to this group, send email to flex_in...@googlegroups.com. >> To unsubscribe from this group, send email to >> flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com> >> . >> For more options, visit this group at >> http://groups.google.com/group/flex_india?hl=en. >> > > > > -- > Regards > Abhinav Mehta > Developer | Blu > Bangalore | INDIA > > -- > You received this message because you are subscribed to the Google Groups > "Flex India Community" group. > To post to this group, send email to flex_in...@googlegroups.com. > To unsubscribe from this group, send email to > flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.