         var layoutTarget:GroupBase = target;
         if (!layoutTarget)
             return;
-        
+
+        constraintCacheNeeded++;
+
         var count:Number = layoutTarget.numElements;
         var layoutElement:ILayoutElement;
         

 */
public class ConstraintLayout extends LayoutBase
{
    //--------------------------------------------------------------------------
    //
    //  Class methods

     */
    private function clearConstraintCache():void
    {
        if(!constraintCacheNeeded)
        {
            colSpanElements = null;
            rowSpanElements = null;
            otherElements = null;
            rowBaselines = null;
            rowMaxAscents = null;
            constraintCache = null;
        }
    }
}
}
