 		private var _model:AppModel;
 		private var _assets:Vector.<Asset>;
 		private var _window:Window;
+		private var _name:String;
 
 		public function ViewerView(model:AppModel = null) {
 			super();

			stream.close();
			//parse
			if(_assets == null)_assets = new <Asset>[];
			_assets.push(new Asset(_model.viewerInput.name, byteArray));
//			var name:String = asset.name;
			if(_assets.length > 1){
				this.choseAnimation();
				Miracle.createScene(_assets, 1);
				Miracle.resume();
			}else{
				this.createHandler(true);

			var n:int = _assets.length;
			for(var i:int = 0; i < n; i++){
				var asset:Asset = _assets[i];
				if(asset.type == Asset.TIMELINE_TYPE){
					//parse output
					_window = new Window(this, 0, 0, "Chose mesh");
					var list:List = new List(_window, 0, 0, this.getAnimations(asset.output));
					_window.x = this.stage.stageWidth - _window.width;
					list.addEventListener(Event.SELECT, this.selectAnimationHandler);
				}
			}
		}

		private function getAnimations(bytes:ByteArray):Array {
			var result:Array = [];

			return result;
		}
		//} endregion PRIVATE\PROTECTED METHODS ========================================
