3 Replies Latest reply on Dec 11, 2006 3:10 PM by cayennecode

    FilterFunc item equality error

    cayennecode Level 1
      Does anyone know why this works:

      private function filterListener(evt:Object):Void {
      dsFiles.filterFunc = function(item:Object):Boolean {
      return ( item.name == "TestClientB");
      }
      }

      But this does not: ?????

      private function filterListener(evt:Object):Void {
      clientListSel = "TestClientB";
      dsFiles.filterFunc = function(item:Object):Boolean {
      return ( item.name == clientListSel);
      }
      }