hi everyone, im a newbie in programming and developing a simple application in flex4 with coldfusion as my back end and MYQSl as my database.
im trying to output my database information in a text input field in flex by using remoteObject(cfc). im getting an error [object Object] but when i bind it to a dataGrid it works fine. every information regarding this will be greatly appriciated. thnx
sample code:
<fx:Declarations>
<mx:RemoteObject id=“myService” destination=“ColdFusion”
source=“newVirtualJaialai”
result=“resultHandler(event)”/>
</fx:Declarations>
<mx:Button label=“Get Data” initialize=“myService.getBranchName()” x=“50” y=“50”/>
<mx:DataGrid dataProvider="{myData}" id="dataGrid" />
<mx:FormItem label="Username:" >
<s:TextInput id="username" {myData}/>
<s:Label />
</mx:FormItem>