1 Reply Latest reply on May 11, 2010 8:10 AM by TeotiGraphix

    Why "Layout" attribute is not associated with all the Containers

    kiran7881 Level 1

      Hi , Can anybody please let me know that why "layout" attribute is not assciated with all the containers .

       

      Means for example it is associated with a Application , and panel and not assciated with a Form Container , why is it so ??

        • 1. Re: Why "Layout" attribute is not associated with all the Containers
          TeotiGraphix Level 3

          Hi,

           

          The containers from the mx namespace subclass mx.core.Container which does not have a layout property. In the previous halo component architecture, layouts were programmed inside of the actual component.

           

          The Spark components have abstracted the layout into a LayoutBase class. The mx.containers.Form class is an mx.core.Container decendent and thus has no layout property. For containers to have the layout property they usually subclass SkinnableContainer or GroupBase at the least.

           

          Mike