flex remoteObject多个方法调用
http://blog.csdn.net/zju2004/article/details/6044873
?
?
?
?
RemoteObject调用多个方法
??<s:RemoteObject destination="hello" result="processResult(event)"
?????? id="testLcds" fault="Alert.show(event.fault.message.toString())"
?????? endpoint="http://localhost:8080/firstLcds/messagebroker/amf">
???<s:method name="test2" result="test2Handler(event)">
???</s:method>
???<s:method name="test3" result="test3Handler(event)">
???</s:method>
??</s:RemoteObject>
?
使用方法;
testLcds.test2.send("www");? //test2为后台方法,参数为String