RE: [flexcoders] Re: XMLFiltering by attributes and values

2009-08-17 Thread Keith Reinfeld
: XMLFiltering by attributes and values I haven't looked at your code too much but what jumped out at me is this line... filterData = filterData.(attribute(prop.name) == prop.value); This will try to evaluate attribute as a function with parameter prop.name and then compare that to prop.value

RE: [flexcoders] Re: XMLFiltering by attributes and values

2009-08-17 Thread Keith Reinfeld
: RE: [flexcoders] Re: XMLFiltering by attributes and values This works well: var _trackData:XML = track item uniqueTrackId=100 albumId=12 trackId=1 genreId=13 artistId=6584/ item uniqueTrackId=101 albumId=13 trackId=2 genreId=14 artistId=6580/ item uniqueTrackId=102