You can extend either .mxml or .as universally. They're in fact the same thing to Flex.
.as extending .mxml myComponents/TestComponent.mxml in your .as: public class TestComponentExtended extends TestComponent .mxml extending .as myComponents/TestComponent.as in your mxml root tag: <test:TestComponent xmlns:test="myComponents.*">

