Custom Component

How to know if your custom component is added to stage…
Please give some good link for custom component tutorials.