读书人

flex remoteObject多个步骤调用

发布时间: 2012-11-23 00:03:43 作者: rapoo

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

读书人网 >flex

热点推荐