 		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
			

	import flash.events.Event;
	import flash.system.Capabilities;
	import flash.utils.getDefinitionByName;
	import flash.utils.setTimeout;
	import starling.core.Starling;
	
	import starling.display.Button;
