 			}
 		}
 
+		public function validateDocument() : void
+		{
+			validateElements();
+		}
+
 		override public function toString() : String
 		{
 			return name;

		
		protected function self_enterFrame(event : Event) : void
		{
			removeEventListener(Event.ENTER_FRAME, self_enterFrame);
			validateElements();
		}
		

		
		protected function validateElements() : void
		{
			removeEventListener(Event.ENTER_FRAME, self_enterFrame);
			//TODO: verify this validation scheme
			if (m_invalidChildren.length == 0)
			{
