Retrieving XML data from the Server - Collection of one item


for abovementioned tutorial, instread of downloading resources, tried supplying own xml file. file contained 1 employee

 

<?xml version="1.0" encoding="utf-8"?> 
<employees> 
   <employee> 
     <firstname>arthur</firstname> 
     <lastname>vernon</lastname> 
  </employee> 
</employees> 

i tried wth 1 employee , failed.  sure, added second employee , works (the drop down list populated employee surnames).

 
logically have thought component should have worked zero, 1 or many elements.

 

has else experienced kind of behaviour (error message appearing complaining not being able cast object collection)

 

as real possibility, bug? have done wrong?

i , you.




More discussions in Flex In A Week


adobe

Comments

Popular posts from this blog

Joomla site hacked, cant see front and - Joomla! Forum - community, help and support

Christian Home School Programs - Joomla! Forum - community, help and support

Trouble with PF_OutFlag_I_USE_AUDIO and PF_CHECKOUT_LAYER_AUDIO