[flexcoders] Re: ComboBox in Component won't open to Saved Value

2008-10-14 Thread valdhor
Randy I am definitely interested in a search-as-you-type BindableComboBox. Please share. I also have a search-as-you-type BindableComboBox that's a combination of this component with an auto-complete component I found on the web (not Adobe's) if you're interested.

[flexcoders] Re: ComboBox in Component won't open to Saved Value

2008-10-09 Thread valdhor
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of valdhor Sent: Wednesday, October 08, 2008 12:31 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: ComboBox in Component won't open to Saved Value Tracy I must be missing something here. I have

[flexcoders] Re: ComboBox in Component won't open to Saved Value

2008-10-09 Thread valdhor
For something that won't work, it works extemely well. --- In flexcoders@yahoogroups.com, Dmitri Girski [EMAIL PROTECTED] wrote: Nope, this won't work. Next call creates new instances which don't correspond to the instances from the first call. You have to loop through the dataProvider,

Re: [flexcoders] Re: ComboBox in Component won't open to Saved Value

2008-10-09 Thread Haykel BEN JEMIA
, 2008 12:31 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: ComboBox in Component won't open to Saved Value Tracy I must be missing something here. I have a combobox with a dataprovider of an arraycollection that is returned from a MySQL database. This is populated

[flexcoders] Re: ComboBox in Component won't open to Saved Value

2008-10-09 Thread valdhor
Of valdhor Sent: Wednesday, October 08, 2008 12:31 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: ComboBox in Component won't open to Saved Value Tracy I must be missing something here. I have a combobox with a dataprovider of an arraycollection

[flexcoders] Re: ComboBox in Component won't open to Saved Value

2008-10-08 Thread valdhor
Tracy I must be missing something here. I have a combobox with a dataprovider of an arraycollection that is returned from a MySQL database. This is populated on creationcomplete. Once this arrayCollection is populated I make another call to get specific data. Part of this data is a field that

RE: [flexcoders] Re: ComboBox in Component won't open to Saved Value

2008-10-08 Thread Tracy Spratt
To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: ComboBox in Component won't open to Saved Value Tracy I must be missing something here. I have a combobox with a dataprovider of an arraycollection that is returned from a MySQL database. This is populated on creationcomplete. Once

RE: [flexcoders] Re: ComboBox in Component won't open to Saved Value

2008-10-08 Thread Dan Pride
:[EMAIL PROTECTED] On Behalf Of valdhor Sent: Wednesday, October 08, 2008 12:31 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: ComboBox in Component won't open to Saved Value Tracy I must be missing something here. I have a combobox with a dataprovider

RE: [flexcoders] Re: ComboBox in Component won't open to Saved Value

2008-10-08 Thread Dan Pride
View source at http://www.archaeolibrary.com/Gezer/srcview/ very nice feature by the way. Dan --- On Wed, 10/8/08, Dan Pride [EMAIL PROTECTED] wrote: From: Dan Pride [EMAIL PROTECTED] Subject: RE: [flexcoders] Re: ComboBox in Component won't open to Saved Value To: flexcoders@yahoogroups.com

[flexcoders] Re: ComboBox in Component won't open to Saved Value

2008-10-08 Thread Dmitri Girski
Nope, this won't work. Next call creates new instances which don't correspond to the instances from the first call. You have to loop through the dataProvider, find the corresponding item (by label, id, whatever) and say Combo.selectedItem = ArrayCollection(Combo.dataProvider).getItemAt(i) this

Re: [flexcoders] Re: ComboBox in Component won't open to Saved Value

2008-10-08 Thread Josh McDonald
: RE: [flexcoders] Re: ComboBox in Component won't open to Saved Value To: flexcoders@yahoogroups.com Date: Wednesday, October 8, 2008, 9:22 PM No, that should not work unless SDActionItem.platform is a reference to an item in the ComboBox dataProvider. Tracy

RE: [flexcoders] Re: ComboBox in Component won't open to Saved Value

2008-10-08 Thread Paul Kukiel
@yahoogroups.com Subject: Re: [flexcoders] Re: ComboBox in Component won't open to Saved Value Dan, what you're trying to do is a simple thing, but I think you're complicating it. Assuming you're using numbers or strings in your combobox and data, simply bind selectedItem={ currentRecord.myValue

Re: [flexcoders] Re: ComboBox in Component won't open to Saved Value

2008-10-08 Thread shaun
Dan Pride wrote: My problem is there seems to be no way to kick the event to change the value. Here is the code, all of it. It can be seen in action at [snip] Change: public var currentPerson:Object = new Object(); To: private var _currentPerson:Object = new Object(); [Bindable] public