 			_displayObject = displayObject;
 			_assetManager = assetManager;
 			_movieclip = new layoutClass();
-			_movieclip.addEventListener( Event.ENTER_FRAME, layoutLoaded );
+			//_movieclip.addEventListener( Event.ENTER_FRAME, layoutLoaded );
+			//_movieclip.addEventListener( Event.ADDED, layoutLoaded );
+			setTimeout (layoutLoaded,0);
 			if ( onLoad != null )
 				onLoad = callBack
 			

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

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