      *  the column count automatically.
      *
      *  Setting this property won't have any effect, if <code>orientation</code> is
-     *  set to "rows", <code>rowCount</code> is explicitly set, and the
+     *  set to TileOrientation.ROWS, <code>rowCount</code> is explicitly set, and the
      *  container width is explicitly set.
      *
      *  @see #rowCount

    //  orientation
    //----------------------------------

    private var _orientation:String = "rows";

    [Bindable("propertyChange")]
    [Inspectable(category="General", enumeration="rows,columns", defaultValue="rows")]

        // justify based on the explicit user settings.
        if (-1 != explicitColumnCount && -1 != explicitRowCount)
        {
            if (orientation == TileOrientation.ROWS)
                _rowCount = Math.max(_rowCount, Math.ceil(elementCount / Math.max(1, explicitColumnCount)));
            else
                _columnCount = Math.max(_columnCount, Math.ceil(elementCount / Math.max(1, explicitRowCount)));
