Check out our Angular Book Series.

Huw Collingbourne on Amethyst: The Flex Show Episode 135

We sit down with Huw Collingbourne about Amethyst, a Visual Studio plugin for Flex Developers.

Sponsored By

Register Now for 360|Flex Denver to learn from the Flex Experts

Notes

Contact

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
Haemp's Gravatar Great show guys!
@Jeff: What is the difference between your auto-complete and the one that comes with FB (the editable combobox)?
# Posted By Haemp | 3/9/11 12:35 PM
Jeffry Houser's Gravatar @Haemp The Flex Spark ComboBox provides look ahead functionality. That means when you type it scrolls to the item and the input box also shows the "rest" of the first item selected. For example if you had a list of US states and type 'C' the drop down would scroll to California Your typed text would be 'C' and "alifornia" would be filled in and highlighted.

An AutoComplete filters the dataProvider; meaning it limits the number of items you can choose based on what words you type. The filter function is exposed as an API, so you can filter the drop down using any function you want; it doesn't have to be a first letter only" filter, which is what you get with the scrolling of the Flex ComboBox.
The AutoComplete also highlights the typed text in the drop down with the text you typed.

Using our default AutoCompleteComboBox, with the same list of states, if you typed 'C' the first element in the AutoComplete would be California (With a Bolded C). States without 'C's would be removed, such as Alabama, Delaware, or Florida. But, states with Cs, such as Kentucky would still be listed.

Does that answer the question?

I should do a blog post comparing the two.
# Posted By Jeffry Houser | 3/9/11 1:17 PM
Haemp's Gravatar Yea thats clear, thanks. I'll be looking into this in my next project.
# Posted By Haemp | 3/9/11 1:45 PM
Jeffry Houser's Gravatar Be sure to let me know of any other questions / problems / thoughts.
# Posted By Jeffry Houser | 3/9/11 1:49 PM
Jeffry Houser's Gravatar @haemp I blogged this, with screenshots and sample code for a side by side comparison:

https://www.flextras.com/blog/index.cfm/2011/3/11/...
# Posted By Jeffry Houser | 3/11/11 2:19 PM
All content Copyright 2007, 2008, 2009, DotComIt, unless otherwise specified. May not be used without permission.
BlogCFC was created by Raymond Camden. This blog is running version 5.9.3.002.
Adobe, the Adobe logo, Flex, Flex Builder, and Captivate are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries. Adobe is not responsible for the content in any way.
This site part of the DotComIt Brain Trust