This component does not fully support Flex 4.5 and above. I’m leaving this page up as the component/code may be useful to some developers but I’m no longer actively supporting it.
Advanced Flex AutoComplete component which supports browsing, selecting and ordering multiple items.
Important Info
- License: The component is freeware. You’re welcome to use it anyway you’d like, I just ask that you send back any bug fixes or improvements.
- Support: I try as hard as possible to respond to all questions within a day. I’ve been using the component for a while now and am pretty confident that it works well. If you’d like to extend it I’m happy to work with you to get your feature working.
Version History
- 1.2 released on August 4th, 2011
- 1.1 released on October 25th, 2010
- 1.0 released on July 3rd, 2009
- 0.98.2 released on May 11th, 2009
- 0.98.1 released on April 7th, 2009
- 0.98 released on March 12th 2009
- 0.93 released on February 1st, 2009
- 0.91 released on January 1st, 2009
- 0.90 released on November 10, 2008
Other Options
A single solution usually doesn’t work for everyone. Here are some other excellent Flex Autocomplete components which may better fit your needs.
- Flextras AutoCompleteComboBox – comes with support
- Tink’s FilterComboBox – more lightweight
- Flashcommander’s Flex 4 AutoComplete – uses Spark
Hi AutoComplete is very handy component, however I found one issue. AutoComplete does not work when dataprovider list(arraycollection) contains one value null into that.
Hi Hillel,
Is it possible to modify the “maxChars” value of the textInput used in the AutoComplete component ?
We are using it but we would like to be able to change the maxChars value.
We tried to access to the “ShorterTextInput” contained in the “PromptTextInput” but it’s null when the constructor is called. Moreover, the creationComplete method is never called, so I cannot modify the maxChars.
Thanks in advance for your help.
Regards,
Anthony
Well,
I’ve finally succeeded in making it. I was not using the right component during my tests… Ahem…
For information, to make it common to all AutoComplete components, I’ve added a listener to the creation complete event in the constructor. In the listener function, I’ve modified the maxChars :
public function CustomAutoComplete()
{
…
this.addEventListener(FlexEvent.CREATION_COMPLETE, handleCreationCompleteEvent);
}
private function handleCreationCompleteEvent(event:Event):void {
if (this.textInput != null && this.textInput.textInput != null) {
this.textInput.textInput.maxChars = MAX_CHARS;
}
}
It could be convenient to allow every AutoComplete components in the MXML file to modify this value, like the TextInput component.
Thanks for making your awesome component open and free !
Regards,
Anthony
Hi Hillel,
The ‘Download’ link on this page takes me to Adobe’s Add-ons page, but I can’t find this component there. I’ve searched for both “ListBuilder” and “AutoComplete”.
Any chance you update the link? (We have a SWC but would like to get source code.)
Douglas
The source code is available here:
https://github.com/hillelcoren/flex-autocomplete
Thanks 🙂
The new flash version (20.0.0.306) killed AutoComplete for us. Anybody having any luck?
Sorry to hear it. I haven’t looked at this code in quite a while but if you’re interested in debugging the issue I’m happy to try to help.
Well I am using Flex SDK 4.5.1 and FP version 21.0.0.213 and its working fine