         var vcY:Number;
         var hcX:Number;
         var baselineY:Number;
-        //If we are not evaluating left, right, and horizontalCenter
-        //relative to the parent container edges, we need to match
-        //the column specified in the constraint expression with the
-        //actual ConstraintColumn instance so later we can determine how
-        //much space the control has to live in. 
-        if (!parentBoundariesLR)
+        // If we are not evaluating left, right, and horizontalCenter
+        // relative to the parent container edges, we need to match
+        // the column specified in the constraint expression with the
+        // actual ConstraintColumn instance so later we can determine how
+        // much space the control has to live in. 
+		var length:int = IConstraintLayout(target).constraintColumns.length;
+		
+		if (!parentBoundariesLR && length > 0)
         {
             var matchLeft:Boolean = leftBoundary ? true : false;
             var matchRight:Boolean = rightBoundary ? true : false;
             var matchHC:Boolean = hcBoundary ? true : false;
-            for (i = 0; i < IConstraintLayout(target).constraintColumns.length; i++)
+			
+            for (i = 0; i < length; i++)
             {       
                 var col:ConstraintColumn = ConstraintColumn(IConstraintLayout(target).constraintColumns[i]);
                 if (matchLeft)

                    }
                }   
            }
            //Erorr throwing - we could not match one of the boundaries to the
            //declared constraintRows 
            if (matchTop)
            {
                message = resourceManager.getString(

        var verticalCenter:Number = childInfo.vc;
        var baseline:Number = childInfo.baseline;

        // Variables to track the boundaries from which
        // the offsets are calculated from. If null, the 
        // boundary is the parent container edge. 
        var leftBoundary:String = childInfo.leftBoundary;
        var rightBoundary:String = childInfo.rightBoundary;
        var hcBoundary:String = childInfo.hcBoundary;
