 import spark.layouts.supportClasses.LayoutBase;
 
 /**
- *  TileLayout arranges the layout elements in columns and rows
+ *  The TileLayout class arranges layout elements in columns and rows
  *  of equally-sized cells.
- *
- *  There are a number of properties that control orientation,
+ *  The TileLayout class uses a number of properties that control orientation,
  *  count, size, gap and justification of the columns and the rows
  *  as well as element alignment within the cells.
  *
- *  Per-element supported constraints are percentWidth, percentHeight.
- *  Element's minimum and maximum sizes will always be respected and
- *  where possible, an element's size will be limited to less then or equal
- *  of the cell size.
+ *  <p>Per-element supported constraints are 
+ *  <code>percentWidth</code> and <code>percentHeight</code>.
+ *  Element's minimum and maximum sizes are always be respected and
+ *  where possible, an element's size is limited to less then or equal
+ *  of the cell size.</p>
  *
- *  When not explicitly set, the columnWidth is calculated as the maximum
- *  preferred bounds width of all elements and the columnHeight is calculated
- *  as the maximum preferred bounds height of all elements.
+ *  <p>When not explicitly set, the <code>columnWidth</code> property 
+ *  is calculated as the maximum preferred bounds width of all elements 
+ *  and the <code>columnHeight</code> property is calculated
+ *  as the maximum preferred bounds height of all elements.</p>
  *
- *  When not explicitly set, the columnCount and rowCount are calculated from
- *  any explicit width/height settings for the layout target and columnWidth
- *  and columnHeight.  In case none is specified, the coulumnCount and rowCount
- *  values are picked so that the resulting pixel area is as square as possible.
+ *  <p>When not explicitly set, the <code>columnCount</code> and 
+ *  <code>rowCount</code> properties are calculated from
+ *  any explicit width and height settings for the layout target, 
+ *  and <code>columnWidth</code> and <code>columnHeight</code>.  
+ *  In case none is specified, the <code>columnCount</code> and <code>rowCount</code>
+ *  values are picked so that the resulting pixel area is as square as possible.</p>
  * 
- *  The measured size is calculated from the columnCount, rowCount, 
- *  columnWidth, rowHeight and the gap sizes.
+ * <p> The measured size is calculated from the <code>columnCount</code>, <code>rowCount</code>, 
+ *  <code>columnWidth</code>, <code>rowHeight</code> properties and the gap sizes.</p>
  *
- *  The default measured size, when no properties were explicitly set, is
- *  as square as possible area and is enough to fit all elements.
+ *  <p>The default measured size, when no properties were explicitly set, is
+ *  as square as possible area and is large enough to fit all elements.</p>
  *
- *  In other cases the measured size may not be big enough to fit all elements -
- *  for example when both columnCount and rowCount are explicitly set to values
- *  such that columnCount * rowCount &lt; element count.
+ *  <p>In other cases the measured size may not be big enough to fit all elements.
+ *  For example, when both <code>columnCount</code> and <code>rowCount</code> are explicitly set to values
+ *  such that <code>columnCount</code> &#42; <code>rowCount</code> &lt; element count.</p>
  *
- *  The minimum measured size is calculated the same way as the measured size but
- *  it's guaranteed to encompass enough rows/columns along the minor axis to fit
- *  all elements.
+ *  <p>The minimum measured size is calculated the same way as the measured size but
+ *  it's guaranteed to encompass enough rows and columns along the minor axis to fit
+ *  all elements.</p>
+ *
+ *  @mxml 
+ *  <p>The <code>&lt;TileLayout&gt;</code> tag inherits all of the tag 
+ *  attributes of its superclass and adds the following tag attributes:</p>
+ *
+ *  <pre>
+ *  &lt;TileLayout 
+ *    <strong>Properties</strong>
+ *    columnAlign="left"
+ *    columnWidth="NaN"
+ *    horizontalAlign="justify"
+ *    horizontalGap="6"
+ *    orientation="rows"
+ *    requestedColumnCount="-1"
+ *    requestedRowCount="-1"
+ *    rowAlign="top"
+ *    rowCount="-1"
+ *    rowHeight="NaN"
+ *    verticalAlign="justify"
+ *    verticalGap="6"
+ *  /&gt;
+ *  </pre>
  *  
  *  @langversion 3.0
  *  @playerversion Flash 10


    /**
     *  Number of columns to be displayed.
     *  Set to make sure the layout measures a specific number of columns.
     * 
     *  Set to -1 to remove explicit override and allow the TileLayout to determine
     *  the column count automatically.
     *
     *  Setting this property won't have any effect, if <code>orientation</code> is
     *  set to TileOrientation.ROWS, <code>rowCount</code> is explicitly set, and the
     *  container width is explicitly set.
     * 
     *  @see #columnCount
     *  @see #columnAlign

     *  <code>HorizontalAlign.JUSTIFY</code>.
     *
     *  <p>When set to <code>HorizontalAlign.JUSTIFY</code> the width of each
     *  element is set to the <code>columnWidth</code>.</p>
     *
     *  @default <code>HorizontalAlign.JUSTIFY</code>
     *  
