Well, that component is nothing but a mx:dataProvider with <mx:String> values inside. So the selectedItem is a string (when calling mycombo.selectedItem) as opposed to an object.
My question is, when you have an object as the dp to a combo (or any other component with selectedItem) how do you set the selected item without doing a loop + if to find the proper selectedIndex?
Thanks,
--
John C. Bland II
"I do what I can do when I can do it." - Chris Tucker, Money Talks
http://www.gotoandstop.org - Home of FMUG.az
--
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
Web site design development | Computer software development | Software design and development |
Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.