Mega Code Archive

 
Categories / Flex / Development
 

RemoteObject With Bindings

<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">      <mx:RemoteObject id="myRemoteObject" destination="helloClass"/>     <mx:Button label="Click to say hello" click="myRemoteObject.helloWorld()"/>      <mx:Label text="{myRemoteObject.helloWorld.lastResult}" fontSize="14" fontWeight="bold"/>    </mx:Application>