Flex RemoteObject 处理多个方法和方法参数的使用

		<!-- 参数顺序必须与purchaseItem(String itemName,int quantity)方法相匹配 -->
		<s:RemoteObject id="testRemote"  endpoint="http://192.168.66.28:8080/TestBlazeDS/messagebroker/amfpolling" destination="helloWorld" result="testRemote_resultHandler(event)" fault="testRemote_faultHandler(event)">
			<s:method name="clearChart" result=""/>
			<s:method name="purchaseItem" result="">
				<s:arguments>
					<item>
						{}
					</item>
					<qty>
						22
					</qty>
				</s:arguments>
			</s:method>
		</s:RemoteObject>

 

你可能感兴趣的:(object)