link to article on Designing flex components for reuse.