Pass bounded parameters to RemoteObject : RemoteObject « Development « Flex

Home
Flex
1.Chart
2.Components
3.Container
4.Data Model
5.Development
6.Effects
7.Event
8.Graphics
9.Grid
10.Style
Flex » Development » RemoteObjectScreenshots 
Pass bounded parameters to RemoteObject
Pass bounded parameters to RemoteObject
        
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
  <mx:RemoteObject id="myRemoteObject" destination="helloClass">
    <mx:method name="concatValues">
      <mx:arguments>
        <val1>{fnameInput.text}</val1>
        <val2>{lnameInput.text}</val2>
      </mx:arguments>
    </mx:method>
  </mx:RemoteObject>
  <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.send()"/>
    </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.RemoteObject Result EventRemoteObject Result Event
6.RemoteObject With BindingsRemoteObject With Bindings
7.Remote Object Explicit ArgumentsRemote Object Explicit Arguments
8.Remote Object with Multiple MethodsRemote Object with Multiple Methods
w__w___w.___j_a__v_a___2s___.___c___o___m__ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.