 		private function parseMovieClip( mc : MovieClip, root : DisplayObjectContainer, container : DisplayObjectContainer ) : void {
 			var child : BFDisplayObject;
 			var n : int = mc.numChildren;
-			for ( var i : uint = 0; i < n; ++i ) {
-				child = mc.getChildAt( i ) as BFDisplayObject;
+			if ( debug )
+				trace( "[LayoutLoader] numChildren "+ n );
+			for ( var i : uint = 0; i < n; i++ ) {
+				child = mc.getChildAt ( i ) as BFDisplayObject;
+				if ( debug )
+					trace( "[LayoutLoader] child "+i+" "+ child );
 				if ( child ) {
 					
 					if ( child.mainClass ) {

			_displayObject = displayObject;
			_assetManager = assetManager;
			_movieclip = new layoutClass();
			_movieclip.addEventListener( Event.ENTER_FRAME, layoutLoaded );
			if ( onLoad != null )
				onLoad = callBack
			

		
		}
		
		private function layoutLoaded( e : Event = null ) : void {
			
			if ( debug )
				trace( "[LayoutLoader] layoutLoaded" );
			_movieclip.removeEventListener ( Event.ENTER_FRAME, layoutLoaded );
			_movieclip.removeEventListener( Event.ADDED, layoutLoaded );
			parseMovieClip( _movieclip, _rootObject, _displayObject );
			loaded();
		}
