Accessibility

Community Publishing

Created:
2009-09-28
User Level:
Beginner
Products:
Flex all


How are selectedIndex and selectedIndices related in Flex?

When you are using a List with allowMultipleSelection set to false, you'd find the currently selected iItem using either the selectedIndex or selectedItem property. However, the list based classes also contain properties named selectedItems and selectedIndices for use if you allow multiple items to be selected.

How does selectedItems relate to selectedItem and how does selectedIndices relate to selectedIndex?  This article explains how.  

www.flextras.com/blog/index.cfm/2009/9/22/How-are-selectedIndex-and-selectedIndices-related-in-Flex

About the contributor 

Jeffry Houser is a technical entrepreneur that likes to share cool stuff with other people. 

Jeffry Houser is the Brains behind Flextras, a set of interface Flex Components that save you time and help you create better Flex interfaces.  Jeffry has a Computer Science degree from the days before business met the Internet and has solved a problem or two in his programming career.  In 1999, Jeffry started DotComIt, an Adobe Solutions Partner specializing in Rich Internet Applications with Flex and ColdFusion.

Jeffry is an Adobe Community Expert and produces The Flex Show, a podcast that includes expert interviews and screencast tutorials. He also hosts the Flextras Friday Lunch Podcast, a weekly live Q&A session where you can get your questions answered.  Jeffry has spoken at user groups and conferences all over the US, is the co-manager of the Hartford CT Adobe User Group, author of three technical books, and over 30 articles.

In his spare time Jeffry is a musician, old school adventure game aficionado, recording engineer, and he owns a Wii. Find more about Flextras at http://www.flextras.com, or check out his podcast at http://www.theflexshow.com, or you can read his personal blog at http://www.jeffryhouser.com 

Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License