package classes.matuto.ui.Mt
{
	import classes.gustavo.ui.box.Box;
	import classes.matuto.ui.scroll.MtScrollBar;
	import classes.matuto.core.Index;
	import classes.matuto.events.MatutoEvent;
	import flash.display.MovieClip;
	import flash.events.Event;

	
	
	public class AddBox
	{

		
		
		public static function add(_dados:Array,_posicao:int):void
		{
			MatutoAdd.addbox(_dados, 0);
			var box:Box = new Box();
			Site.ref.addChild(box);
			Site.ref.setChildIndex(box,Site.ref.numChildren - 1);
			box.init(_dados, _posicao);
		}
		
		
		
	}//end class

}