Which approach is better? Creating custom visual components by using MXML or by extending the component in ActionScript? What are the things one should consider before chosing one of these approaches for creating custom visual components?
Thanks in advance for help..!!
If you need to have a constructor, use AS, as you cannot have constructors with MXML cvomponents.
Other than that, it really is up to you. MXML is a cleaner way to create simple components.