: [flexcoders] Re: Generic Function To Set ComboBox Item
Don't you access properties in an XMLListCollection differently than in
an ArrayCollection?
So rather than...
var item:String = dataProv.getItemAt(i).dpID;
it would be
var item:String = dataProv.getItemAt(i)@dpid
.
From: gareth_arch gareth_a...@...
To: flexcoders@yahoogroups.com
Sent: Wed, 19 May, 2010 10:34:35
Subject: [flexcoders] Re: Generic Function To Set ComboBox Item
Don't you access properties in an XMLListCollection differently than in an
ArrayCollection
, 19 May, 2010 10:34:35
Subject: [flexcoders] Re: Generic Function To Set ComboBox Item
Don't you access properties in an XMLListCollection differently than in an
ArrayCollection?
So rather than...
var item:String = dataProv.getItemAt(i).dpID;
it would be
var item:String
Any take on this?
Thanks.
--- In flexcoders@yahoogroups.com, Angelo Anolin angelo_ano...@... wrote:
Hi FlexCoders,
I would want to create a generic function to be able to set a ComboBox item.
The function I have goes like this:
private function selectComboItem(itemID:String,
Don't you access properties in an XMLListCollection differently than in an
ArrayCollection?
So rather than...
var item:String = dataProv.getItemAt(i).dpID;
it would be
var item:String = dataProv.getItemAt(i)@dpid;
Try doing a debug of your code and see what is being returned also.
--- In
= xmlLC.getItemAt(i).collectionID; ??
Thanks.
From: gareth_arch gareth_a...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Wed, 19 May, 2010 10:34:35
Subject: [flexcoders] Re: Generic Function To Set ComboBox Item
Don't you access properties
6 matches
Mail list logo