In a previous example, “Creating a custom component using the Component tag in Flex 4″, we saw how you could create a simple, inline custom component in Flex 4 using the Component tag and className property and then instantiating new instances using ActionScript and MXML.
The following example shows how you can create a new custom component using the Definition tag in Flex 4.
Full code after the jump.
{ 1 comment }
