首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 媒体动画 > flex >

flex remoteObject多个步骤调用

2012-11-23 
flex remoteObject多个方法调用http://blog.csdn.net/zju2004/article/details/6044873????RemoteObject调

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

热点排行