 	import flash.display.DisplayObject;
 	import flash.events.Event;
 	
+	import flashx.textLayout.formats.VerticalAlign;
+	
 	import mx.binding.utils.BindingUtils;
 	import mx.containers.HBox;
 	import mx.containers.VBox;

	[Event(name="change", type="flash.events.Event")]
	
	/**
	 * This class features a correctly behaving auto horizontal scroll policy.
	 */	
	public class CheckBoxWithNestedOptions extends VBox
	{
		public function CheckBoxWithNestedOptions()

			BindingUtils.bindProperty(this, 'selected', checkBox, 'selected');
			BindingUtils.bindProperty(innerVBox, 'visible', checkBox, 'selected');
			BindingUtils.bindProperty(innerVBox, 'includeInLayout', checkBox, 'selected');
			checkBox.addEventListener(Event.CHANGE, function(event:Event):void {
				dispatchEvent(event);
			});
		}
		
		public const indent:int = 20;
