In this collection of articles you will find various tips, tricks etc for the creation of Flash / Flex componentry. I’ve broken this down into component development by technology platform and if relevant Actionscript version.
Actionscript 2.0 Component Development