<mx:RemoteObject destination="bookService" id="bookService" result="resultHandler(event)">
<mx:channelSet>
<mx:ChannelSet>
<mx:channels>
<mx:AMFChannel uri="http://localhost:8080/FlexBook/messagebroker/amf"/>
</mx:channels>
</mx:ChannelSet>
</mx:channelSet>
</mx:RemoteObject>
如果想使用RemoteObject标签来访问Spring的Services而不像我上一篇上写的通过一个AS文件来实现,需要写很多很多channelSet,ChannelSet的包裹,大小写的channelSet是不一样的标签,包了一堆就为了使用 <mx:AMFChannel /> 虽然各有各的冠冕堂皇的解释
但是总觉得太繁琐,或者给弄个简单的默认的方式嘛。