 		}
 		else if (element is StyleableTextField)
 		{
-			// commit styles to get an accurate measurement
-			StyleableTextField(element).commitStyles();
-			
 			return StyleableTextField(element).measuredTextSize.y;
 		}
 		else

	}
	
	/**
	 *  A helper method to retrieve the preferred height of an element
	 * 
	 *  <p>You can use this method instead of checking for and using
	 *  various interfaces such as ILayoutElement or IFlexDisplayObject.</p>
	 *
	 *  @param element The child to retrieve the height for
	 *
	 *  @see #sizeElement
	 *  @see #getElementPreferredWidth 

		}
		else if (element is StyleableTextField)
		{
			return StyleableTextField(element).measuredTextSize.x;
		}
		else
