<krpano version="1.0.8" onstart="set(display.flash10,off); action(loadpano1);">
	
	<progress showload="none" showwait="none" />
	<view fisheye="0" fovmax="140" />
	
	<action name="loadpano1">
		loadpano(%SWFPATH%/panos/korfu/pantokrator/kloster/kloster.xml, null, KEEPALL|KEEPHOTSPOTS, BLEND(1));
	</action>
	
	<action name="loadpano2">
		loadpano(%SWFPATH%/panos/kirche/kirche.xml, null, KEEPALL|KEEPHOTSPOTS, BLEND(1));
	</action>
	
	<action name="loadpano3">
		loadpano(%SWFPATH%/panos/korfu/altefestungoben/altefestungoben.xml, null, KEEPALL|KEEPHOTSPOTS, BLEND(1));
	</action>
	
	
	<style name="button"
	        url="%SWFPATH%/plugins/textfield.swf"
	        css="p{color:#FFFFFF; font-family:Arial; font-size:14; margin-left:5; margin-right:5; text-align:center; }"
	        keep="true"
	        children="false"
	        visible="false"
	        width="140"
	        height="22"
	        backgroundcolor="0x000000"
	        roundedge="5"
	        shadow="1"
	        borderwidth="0"
	        glow="4"
	        onover="tween(alpha,0.7,distance(0.3,0.2));"
	        onout="tween(alpha,1.0,distance(0.3,0.2));"
	        onloaded="set(alpha,0);set(textblur,15);set(blur,15); set(visible,true); tween(alpha,1.0,0.3); tween(textblur,0,0.3); tween(blur,0,0.3);"
	        />


	
	<plugin name="info_button"
	        style="button"
	        html="[p]informations[/p]"
	        align="leftbottom"
	        x="20"
	        y="20"
	        onclick="action(hide_others_text);action(show_info_text);"
	        />
	
	<plugin name="others_button"
	        style="button"
	        html="[p]other panos[/p]"
	        align="rightbottom"
	        x="20"
	        y="20"
	        onclick="action(hide_info_text);action(show_others_text);"
	        />	

	<plugin name="high_button"
	        style="button"
	        html="[p]stillquality=HIGH[/p]"
	        align="bottom"
	        x="-100"
	        y="20"
	        onclick="set(display.stillquality,HIGH);"
	        />
	        
	<plugin name="highsharp_button"
	        style="button"
	        html="[p]stillquality=HIGHSHARP[/p]"
	        align="bottom"
	        x="100"
	        y="20"
	        onclick="set(display.stillquality,HIGHSHARP);"
	        />
	                
	        
	
	<data name="info_html">
		<p>
			<br/>
			this is a demo of the new HIGHSHARP quality setting<br/>
			<br/>
			after rendering the panorama in HIGH quality an addtional
			sharpen filter is applied
			<br/>
			<br/>
			<b>click to close</b>
			<br/>
		</p>
	</data>
	
	<plugin name="info_text"
	        url="%SWFPATH%/plugins/textfield.swf"
	        html="data:info_html"
	        css="p{color:#FFFFFF; font-family:Arial; font-size:14; margin-left:5; margin-right:5; text-align:center; }"
	        keep="true"
	        children="false"
	        visible="false"
	        width="400"
	        height="300"
	        backgroundcolor="0x000000"
	        roundedge="5"
	        shadow="1"
	        borderwidth="0"
	        glow="4"
	        align="center"
	        x="0"
	        y="0"
	        autosize="center"
	        onloaded="action(show_info_text);"
	        onclick="action(hide_info_text);"
	        />
	        
	<action name="show_info_text">
		set(plugin[info_button].enabled,false);
		set(plugin[info_text].alpha,0);
		set(plugin[info_text].textblur,15);
		set(plugin[info_text].blur,15); 
		set(plugin[info_text].visible,true);
		set(plugin[info_text].enabled,true);
		tween(plugin[info_text].alpha,1,0.3); 
		tween(plugin[info_text].textblur,0,0.3); 
		tween(plugin[info_text].blur,0,0.3);
	</action>
	
	<action name="hide_info_text">
		set(plugin[info_text].enabled,false);
		set(plugin[info_button].enabled,true);
		tween(plugin[info_text].alpha,0,0.3,null,set(plugin[info_text].visible,false)); 
		tween(plugin[info_text].textblur,20,0.3); 
		tween(plugin[info_text].blur,20,0.3);
	</action>

	
	
	        
	<data name="others_html">
		<p>
			<br/>
			select a other panorama<br/>
		</p>
		<a href="event:action(hide_others_text);action(loadpano2);">
			<img src="/krpano.com/panos/kirche/kircheimagebarthumb.jpg" width="512" height="80" />
		</a>
		<br/>
		<br/>
		<a href="event:action(hide_others_text);action(loadpano3);">
			<img src="/krpano.com/panos/korfu/altefestungoben/altefestungobenimagebarthumb.jpg" width="512" height="80" />
		</a>
		<br/>
		<br/>
		<a href="event:action(hide_others_text);action(loadpano1);">
			<img src="/krpano.com/panos/korfu/pantokrator/kloster/klosterimagebarthumb.jpg" width="512" height="80" />
		</a>			
		<br/>
		<br/>
		<br/>
		<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
		
		<p>
			<b><a href="event:action(hide_others_text);">click to close</a></b>
			<br/>
		</p>
		
	</data>	  
	
	<plugin name="others_text"
	        url="%SWFPATH%/plugins/textfield.swf"
	        html="data:others_html"
	        css="p{color:#FFFFFF; font-family:Arial; font-size:14; margin-left:5; margin-right:5; text-align:center; }"
	        keep="true"
	        visible="false"
	        width="532"
	        height="400"
	        backgroundcolor="0x000000"
	        roundedge="5"
	        shadow="1"
	        borderwidth="0"
	        glow="4"
	        align="center"
	        x="0"
	        y="0"
	        autosize="center"
	        />      
	        
	        
	<action name="show_others_text">
		set(plugin[others_button].enabled,false);
		set(plugin[others_text].alpha,0);
		set(plugin[others_text].textblur,15);
		set(plugin[others_text].blur,15); 
		set(plugin[others_text].visible,true);
		set(plugin[others_text].enabled,true);
		tween(plugin[others_text].alpha,1,0.3); 
		tween(plugin[others_text].textblur,0,0.3); 
		tween(plugin[others_text].blur,0,0.3);
	</action>	         
	
	<action name="hide_others_text">
		set(plugin[others_button].enabled,true);
		set(plugin[others_text].enabled,false);
		tween(plugin[others_text].alpha,0,0.3,null,set(plugin[others_text].visible,false));
		tween(plugin[others_text].textblur,20,0.3);
		tween(plugin[others_text].blur,20,0.3);
	</action>


</krpano>

