Search code examples
apache-flexstaticmxmlprivate

static/private child component in mxml?


Are there any way to declare a child component in mxml which is private/protected or even static?

Sure we can do this inside a script tag, but are there any other way?


Solution

  • Ashier suggests using the "Exclude" metadata tag, but Maskit offers its limitations and suggests alternative solutions:

    http://blog.ashier.com/2008/03/25/hiding-properties-in-flex-components/
    http://smaskit.blogspot.com/2008/07/making-mxml-subcomponent-private.html