I would search for a Diff algorithm (There is a wikipedia entry at http://en.wikipedia.org/wiki/Diff) and either try to implement it in Flex or send the texts to a backend Diff processor and just display the results (There are a lot of scripts available in multiple languages so I see no point in re-inventing the wheel in Flex - unless, of course, you want to)
--- In flexcoders@yahoogroups.com, nhid <[EMAIL PROTECTED]> wrote: > > Hello, > > We're trying to do a text comparision between 2 paragraphs and highlight > only the words that are different in the paragraphs. How we are trying to > accomplish this is by comparing the words from paragraph 1 to those in > paragraph 2, keeping track of the matches as in a matrix, then use the > sentence with the highest matches as the base sentence, then highlight the > remaining words in that sentence in paragraph 2. This method seems to be > cumbersome and not working properly at the moment. > > Any other suggestions how or has anyone seen a sample to do this? > > Thank you. >