Mega Code Archive

 
Categories / Flex / Development
 

Remote Object Explicit Arguments

<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">   <mx:RemoteObject id="myRemoteObject" destination="helloClass"/>   <mx:Form>     <mx:FormItem label="First Name:">       <mx:TextInput id="fnameInput"/>     </mx:FormItem>     <mx:FormItem label="Last Name:">       <mx:TextInput id="lnameInput"/>       <mx:Button label="Send Args" click="myRemoteObject.concatValues(fnameInput.text, lnameInput.text)"/>     </mx:FormItem>   </mx:Form>   <mx:Label text="{myRemoteObject.concatValues.lastResult}" fontSize="14" fontWeight="bold"/>    </mx:Application>