Flex Mobile, Get Value data from SpinnerList -


when using 1st code works, return me value. but, if change

list="{new arraylist(['test1','test2'])}"

to

list="{operation1result2.lastresult}

the return value [object songvoting]


protected function spinnerlist_changehandler(event:indexchangeevent):void         {                            debug.text  = event.currenttarget.selecteditem;         }  <s:spinnerlistcontainer includein="vote" x="10" y="100" width="640" height="446">     <s:spinnerlist id="spinnerlist" width="636" height="443"                    creationcomplete="spinnerlist_creationcompletehandler(event)"                    labelfield="song" selectedindex="1" textalign="center"                    change="spinnerlist_changehandler(event)">                            <s:asynclistview list="{new arraylist(['test1','test2'])}"/>                 </s:spinnerlist> </s:spinnerlistcontainer> 

what value of "operation1result2.lastresult" ? me, looks single object , not ilist.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

javascript - Clean way to programmatically use CSS transitions from JS? -

android - send complex objects as post php java -