Remote Object Explicit Arguments : RemoteObject « Development « Flex






Remote Object Explicit Arguments

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>

   
    
    
    
    
    
    
    
    
  








Related examples in the same category

1.Feed returning value from RemoteObject to DataGridFeed returning value from RemoteObject to DataGrid
2.Calling RemoteObject components in ActionScript
3.Call remote method with RemoteObjectCall remote method with RemoteObject
4.Convert returning value from RemoteObject to ArrayCollectionConvert returning value from RemoteObject to ArrayCollection
5.Pass bounded parameters to RemoteObjectPass bounded parameters to RemoteObject
6.RemoteObject Result EventRemoteObject Result Event
7.RemoteObject With BindingsRemoteObject With Bindings
8.Remote Object with Multiple MethodsRemote Object with Multiple Methods