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

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

		private function parseMovieClip( mc : MovieClip, root : DisplayObjectContainer, container : DisplayObjectContainer ) : void {
			var child : BFDisplayObject;
			var n : int = mc.numChildren;
			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 ) {
