private function myFilterFunction(item:Object):Boolean { // if no search text,allow all If (generalSearch.text.length == 0 && titleSearch.text.length == 0 && subjectSearch.text.length == 0) return true;
return (item[keywordText].match(new RegExp(generalSearch.text, 'i')) && item[titleText].match(new RegExp(titleSearch.text, 'i')) && item[subjectText].match(new RegExp(subjectSearch.text, 'i'))); } On 3/10/13 5:45 AM, "ZIONIST" <stinas...@yahoo.com> wrote: am not sure i follow... care to shed more light? -- Alex Harui Flex SDK Team Adobe Systems, Inc. http://blogs.adobe.com/aharui