Bom dia galera,
estou com uma duvida no seguinte, eu tenhu uma combo box, e quero
preenche-la com os dados que eu pego no banco de dados mysql, soh que
qnd eu mostro na combo ele me algo do tipo:
[object object]
[object object]
[object object]
como que eu faço para ele me mostrar os valores corretos???
segue o codigo abaixo:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application width="500" height="328" xmlns="*" paddingBottom="10"
paddingLeft="10"
paddingRight="10" layout="absolute"
creationComplete="userRequest.send()"
xmlns:mx="http://www.adobe.com/2006/mxml" styleName="Application2"
viewSourceURL="src/DataProviderArray/index.html">
<mx:HTTPService id="userRequest" url="http://localhost/galeria_flex/
codigo.php"
useProxy="false">
</mx:HTTPService>
<mx:Style source="galeria_css.css"/>
<mx:Panel paddingBottom="10" paddingLeft="10" paddingRight="10"
paddingTop="10"
title="Player" borderColor="#dbdbdb" color="#000000"
x="203"
y="19" height="248" width="264" cornerRadius="10">
<mx:VideoDisplay width="223" height="188" id="video" autoPlay="false"
source="file:///C|/Documents and
Settings/Administrador/Desktop/
teste_camera.flv"/>
</mx:Panel>
<mx:Panel paddingBottom="10" paddingLeft="10" paddingRight="10"
paddingTop="10"
x="19" y="59" width="165" height="248" layout="absolute"
title="PlayList"
borderColor="#dbdbdb" color="#000000" cornerRadius="10">
<mx:DataGrid id="link_video" x="10" y="10" width="125" height="188"
borderStyle="solid"
color="#000000">
<mx:columns>
<mx:DataGridColumn headerText="Videos" dataField="eve_st_nome"/>
</mx:columns>
</mx:DataGrid>
</mx:Panel>
<mx:HBox cornerRadius="20" x="243" y="285">
<mx:Button label="Play" useHandCursor="true" click="video.play()"
alpha="1.0" cornerRadius="8" themeColor="#dbdbdb"
color="#ffffff"
id="play"/>
<mx:Button label="Pause" useHandCursor="true" click="video.pause()"
cornerRadius="8" themeColor="#dbdbdb" color="#ffffff"/>
<mx:Button label="Stop" useHandCursor="true" click="video.stop()"
themeColor="#dbdbdb" cornerRadius="8" color="#ffffff"/>
</mx:HBox>
<mx:ComboBox x="19" y="19" width="143"
dataProvider="{userRequest.lastResult.eventos.evento}"/>
</mx:Application>
--~--~---------~--~----~------------~-------~--~----~
Você recebeu esta mensagem porque está inscrito na lista "flexdev"
Para enviar uma mensagem, envie um e-mail para [email protected]
Para sair da lista, envie um email em branco para [EMAIL PROTECTED]
Mais opções estão disponíveis em http://groups.google.com/group/flexdev
-~----------~----~----~----~------~----~------~--~---