If you set selectedItems, the array you set it to needs to contain actual object references to particular data items in the dataProvider. It can't simply contain objects with the same data. If you want to set the selection based on data, you'll have to loop through all the items, inspect whether each item has the data you want, and select it if so. - Gordon
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of qnotemedia Sent: Wednesday, March 14, 2007 9:48 AM To: [email protected] Subject: [flexcoders] Re: Getting "selectedItems" to properly *select*... Got it! It appears that selectedItems is dependent on the data being *absolutely identical* to the dataProvider. And while I thought my data was identical, it really wasn't. In the debugger, if you look at a variable, its always: "Array (@123456)". What I found was that although the data was definitely the same, that number was not. To fix the problem, I centralized all data to go through one data manager, whereas before I was reinitializing a different data component in each component. So now, I'm basically calling parentApplication.dataManager.someFunction () from all of my components. This isn't good quite frankly, but by doing so, the @123456 is always the same. If anyone else can think of a better way, I'm all ears...

