Result format as default it's Object as the other member pointed you to labelField you can set via AS3 or just in MXML the last result format for that.
For example if you are retrive to XML you just put
labelField="data.item"
for each item you get response.
for using an Array collection you cold do that.
[Bindable]
public var SampleCFC:ArrayCollection;
private function resultHandler9(event:ResultEvent):void {
SampleCFC = event.result as ArrayCollection;
Remember that you have to use Bindable Property to works.
On 10/3/06, bulldog65mustang <
[EMAIL PROTECTED]> wrote:
I am calling a cfc that return a query. How do I set the result to a
mx:List dataProvider? I have tried a couple different thing, but can
only get [Object Object] to display for each item in the list.
--
----------------------------
Igor Costa
www.igorcosta.com __._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
![]()
SPONSORED LINKS
Software development tool Software development Software development services Home design software Software development company
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
__,_._,___
Reply via email to