Sorry, I don't understand the question.

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Robert Was
Sent: Thursday, January 31, 2008 4:15 AM
To: [email protected]
Subject: [flexcoders] setter and dataprovider issues

I make setter/getter to property that is source of data binding and 
mx:List have strange behavior: If i modify property of any element in 
files List lost selectedItem. Without setter everything works as
expected.
private var _files:ArrayCollection;
        public function set files(f:ArrayCollection):void{
            _files=f;
            var filter:FilesFilter=new FilesFilter()
            _files.filterFunction=filter.filterFunction
            _files.refresh()
        }
        public function get files():ArrayCollection{
            return _files;
        }



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



Reply via email to