 			stream.close();
 			//parse
 			if(_assets == null)_assets = new <Asset>[];
-			_assets.push(new Asset(_model.viewerInput.name, byteArray));
+			var asset:Asset = new Asset(_model.viewerInput.name, byteArray);
+			if(asset.type == Asset.TIMELINE_TYPE){
+				_name = asset.name;
+			}
+			_assets.push(asset);
 //			var name:String = asset.name;
 			if(_assets.length > 1){
 				this.choseAnimation();
 				Miracle.createScene(_assets, 1);
+				Miracle.currentScene.createImage(_name)
+						.addEventListener(Event.ADDED_TO_STAGE, this.imageAddedToStage);
 				Miracle.resume();
 			}else{
 				this.createHandler(true);

	import com.merlinds.miracle.Miracle;
	import com.merlinds.miracle.display.MiracleImage;
	import com.merlinds.miracle.utils.Asset;
	import com.merlinds.miracle_tool.models.AppModel;

	import flash.display.Sprite;


		private function selectAnimationHandler(event:Event):void {
			var list:List = event.target as List;
			log(this, "selectAnimationHandler", list.selectedItem);
			//add animation to miracle
			var name:String = list.selectedItem.toString();

		}

		private function imageAddedToStage(event:Event):void {
