It seems my plugin that highlights code is a bit screwed at the moment. So I have uploaded the Flex 2 project with the component MXML files I refer to in Flex 2 MXML Component Development. You’ll find them in the downloads section so feel free to download and play.
UPDATE: I fixed the screwy code – I had left the ‘fix invalid XHML tags’ enabled in the Options :S