For this ComboBox, the DataProvider is an object that holds the result of a stored procedure-- the names of a series of groups to which a person can belong. I wish I could give you a trace statement to look at, but I haven't gotten the Flash Debugger to work yet.
--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > What does your DataProvider look like? > Tracy > > -----Original Message----- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of fowleryj > Sent: Thursday, September 29, 2005 9:23 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] ComboBox selectedItem comparison > > Hello, > > I'm trying to determine whether a user's selection within a ComboBox > is a valid one for the task that is being carried out. How do I do a > comparison with a ComboBox? I've tried selectedItem, > selectedItem.data, selectedItem.label, and selectedIndex-- > selectedItem returns an [object Object], and selectedItem.data, > selectedItem.label, and selectedIndex return "undefined". Since my > ComboBox is populated, I don't know what to make of the "undefined". > > Any ideas on how to determine exactly what the user has selected, so > that I can compare it with the values I *don't* want them to have > selected for this particular task? > > Thanks ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/