 //
 ////////////////////////////////////////////////////////////////////////////////
 
-package mx.graphics
+package spark.primitives
 {
 
 import flash.display.DisplayObjectContainer;

	/**
	 *  @private
	 *  Creates an ElementFormat (and its FontDescription)
	 *  based on the TextBox's CSS styles.
	 *  These must be recreated each time because FTE
	 *  does not allow them to be reused.
	 */
	private function createElementFormat():ElementFormat
	{
		// When you databind to a text formatting style on a TextBox,
		// as in <TextBox fontFamily="{fontCombo.selectedItem}"/>
		// the databinding can cause the style to be set to null.
		// Setting null values for properties in an FTE FontDescription
		// or ElementFormat throw an error, so the following code does

import flash.text.engine.TextLineValidity;

import mx.core.mx_internal;
import spark.primitives.supportClasses.TextGraphicElement;

[DefaultProperty("text")]

