<krpano version="1.0.8" onstart="action(onstart);">

	<!-- text style for startup info -->
	<textstyle name="infostyle" origin="top" edge="top" yoffset="5" textalign="center" background="false" border="false" fontsize="30" textcolor="0xFFFFFF" bold="false" effect="glow(0xFFFFFF,0.7,4,2);glow(0x000000,1,4,2);dropshadow(3,45,0x000000,2,0.6);" showtime="999.0" fadetime="1.0" />

	<!-- use only a grid preview pano to save download space ;-) -->
	<preview type="grid(cube,16,16,512,0xCCCCCC,0xFFFFFF,0x999999);" details="16" />

	<!-- action to create a textfield plugin button -->
	<action name="createbutton">
		addplugin(%1);
		set(plugin[%1].children,false);
		set(plugin[%1].css,p{color:#000000;font-family:Arial;font-weight:bold;font-size:14;margin-left:5;margin-right:5;text-align:center;});
		set(plugin[%1].backgroundcolor,0xFFFFFF);
		set(plugin[%1].roundedge,5);
		set(plugin[%1].shadow,1);
		set(plugin[%1].borderwidth,0);
		set(plugin[%1].glow,4);
		set(plugin[%1].glowcolor,0xFFFFFF);
		set(plugin[%1].visible,false);
		set(plugin[%1].onover,tween(alpha,0.7,distance(0.3,0.2)); ); 
		set(plugin[%1].onout,tween(alpha,1.0,distance(0.3,0.2)); );
		set(plugin[%1].onloaded,set(alpha,0);set(textblur,15);set(blur,15);set(visible,true);tween(alpha,1,0.3);tween(textblur,0,0.3);tween(blur,0,0.3););
		set(plugin[%1].html,[p]%1[/p]);
		set(plugin[%1].width,100);
		set(plugin[%1].height,22);
		set(plugin[%1].align,%2);
		set(plugin[%1].x,%3);
		set(plugin[%1].y,%4);
		set(plugin[%1].onclick,%5);
		set(plugin[%1].url,%SWFPATH%/plugins/textfield.swf);
	</action>

	<!-- show info and create buttons to load examples -->
	<action name="onstart">
		showtext([b][i]krpano 1.0.8 beta 7[br]EXAMPLES[/i][/b], infostyle);
		
		action(createbutton, Buttons, top, 0, 100, loadpano(examples/buttons/buttons.xml); );
		action(createbutton, Compass, top, 0, 130, loadpano(examples/compass/compass.xml); );
		action(createbutton, Crop,    top, 0, 160, loadpano(examples/crop/crop.xml); );
		action(createbutton, Cursors, top, 0, 190, loadpano(examples/cursors/cursors.xml); );
		action(createbutton, Sound 3D, top, 0, 220, loadpano(examples/directionalsound/directionalsound.xml); );
		action(createbutton, Events, top, 0, 250, loadpano(examples/events/events.xml); );
		action(createbutton, Keyboard, top, 0, 280, loadpano(examples/keyboard/keyboard.xml); );
		action(createbutton, Mask, top, 0, 310, loadpano(examples/mask/mask.xml); );
		action(createbutton, Parent/Child, top, 0, 340, loadpano(examples/parentchild/parentchild.xml); );
		action(createbutton, QTVR Style, top, 0, 370, loadpano(examples/qtvr/qtvr_style_include_skin.xml,qtvr=examples/qtvr/testpano.mov); );
		action(createbutton, scale9grid, top, 0, 400, loadpano(examples/scale9grid/scale9grid.xml); );
		action(createbutton, Scenes, top, 0, 430, loadpano(examples/scenes/scenes.xml); );
	</action>
	
	
</krpano>
