12 Replies Latest reply on Sep 20, 2012 12:14 AM by staritalia

    How to create custom MXML component accepting other MXML componenents as children

    staritalia

      How can I create an MXML component that when I use it in the "main" MXML, accepts other MXML components...

       

      For example:

       

      <s:WindowedApplication>

           <myComponent>

                <otherMXMLcomponent></otherMXMLcomponent>

                <otherMXMLcomponent></otherMXMLcomponent>

                <otherMXMLcomponent></otherMXMLcomponent>

                <otherMXMLcomponent></otherMXMLcomponent>

           </myComponent>

      <s:WindowedApplication>

       

      How do you declare such a component?

       

      Thanks in advance