Set the ta.text whenever you set the selectedIndex.  You can also try listening 
for VALUE_COMMIT event.


On 4/11/10 6:48 AM, "ew6014" <[email protected]> wrote:







hi

i have a spark List control. it has a dataProvider that shows reply from 
twitter search.

i have created a function for change handler like this:

protected function list_changeHandler(event:IndexChangeEvent):void { ta.text = 
coverflow.selectedItem.title; }

so, whenever i select each of the items in the List i will see the 
message(ta.text) but now, instead of me manually clicking the first time, i 
want it to automatically click/select the first item and see the first 
message(ta.text)

how do i do it? ...






--
Alex Harui
Flex SDK Team
Adobe System, Inc.
http://blogs.adobe.com/aharui

Reply via email to