I have recently discovered it was possible to extend other components in the mxml. It can be put to great use with inspection, logging, or other debugging tools. Take the excellent KapInspect, for instance
To add inspection capability to a project without messing out the code to be distributed to the client or other sources, you can use this approach:
Imagine you have a file PorterStemmer.mxml in your main Flex project.
Create a second Flex project. Name it PorterStemmer_inspect.
In this second project, link to the source of the PorterStemmer's one. In the 'Flex Navigator' Panel of the Flex Builder, right click on the PorterStemmer_inspect project folder. Select Properties > Flex build Path > Source Path (tab) > Add Folder > browse to the path of the src folder in the PorterStemmer project. Click OK. A new folder "[source path] src" would have been added to your project that provides a linking alias to the 'src' folder.