[object Object] error in flex4

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”/>

&lt;mx:DataGrid dataProvider="{myData}" id="dataGrid" /&gt;
&lt;mx:FormItem label="Username:"  &gt;
    &lt;s:TextInput id="username" {myData}/&gt;        
    &lt;s:Label  /&gt;
&lt;/mx:FormItem&gt;