<?xml version="1.0" encoding="utf-8"?>
<m3danim length="10"  frame-rate-num="1" frame-rate-den="100">
	<video-clips>
		<video-clip name="movie0" src="movie0" length="10"/>
		<video-clip name="movie1" src="movie1" length="10"/>
		<video-clip name="movie2" src="movie2" length="10"/>
	</video-clips>
	<viewports>
		<viewport name="menu" world="menu">
			<projection-transform>
				<menu-screen/>
			</projection-transform>
		</viewport>
	</viewports>
	<worlds>   
		<world name="menu">
		
			<container>
				<transforms>
					<translate y="-0.07"/>				
				</transforms>

			  <if video-clip="movie1">
		      <container>
		        <trianglestrip>
		          <xyz>
		            .5   -.5  0.0
		            -.5  -.5  0.0
		            .5   .5   0.0
		            -.5  .5   0.0
		          </xyz>
		          <texcoord>
		            1 0 
					0 0 
					1 1 
					0 1
		          </texcoord>
		          <texture static-src="frame_hover.png"/>
		          <transforms>
		            <scale x="0.3125" y="0.4166666666"/>
		          </transforms>
		        </trianglestrip> 
				
		        <transforms>
		          <translate x="0.5" y="0.5"/>           
		        </transforms>
				
		      </container>
			  </if>		
				
			  <if video-clip="movie0">
		      <container>
		        <trianglestrip>
		          <xyz>
		            .5   -.5  0.0
		            -.5  -.5  0.0
		            .5   .5   0.0
		            -.5  .5   0.0
		          </xyz>
		          <texcoord>
		            1 0 
					0 0 
					1 1 
					0 1
		          </texcoord>
		          <texture static-src="frame_hover.png"/>
		          <transforms>
		            <scale x="0.3125" y="0.4166666666"/>
		          </transforms>
		        </trianglestrip>
		        <transforms>
		          <translate x="0.2" y="0.5"/>
		        </transforms>
		      </container>
			  </if>
			  
			  <if video-clip="movie2">
		      <container>
		        <trianglestrip>
		          <xyz>
		            .5   -.5  0.0
		            -.5  -.5  0.0
		            .5   .5   0.0
		            -.5  .5   0.0
		          </xyz>
		          <texcoord>
		            1 0 0 0 1 1 0 1
		          </texcoord>
		          <texture static-src="frame_hover.png"/>
		          <transforms>
		            <scale x="0.3125" y="0.4166666666"/>
		          </transforms>
		        </trianglestrip>
		        <transforms>
		          <translate x="0.8" y="0.5"/>
		        </transforms>
		      </container>
			  </if>		
			</container>
			
		<!-- Nav Buttons -->
		<container>
			<transforms>
				<translate y="0.6" x="0.5"/>
			</transforms>
				<trianglestrip>
					<xyz>
						0.0		0.0 	0.0
						-0.2	0.0 	0.0
						0.0		0.26666 0.0
						-0.2	0.26666 0.0
					</xyz>
					
					<texcoord>
			            1.0 0.0 
						0.0 0.0
						1.0 1.0 
						0.0 1.0				
					</texcoord>
					
					<texture static-src="button_prev_hover.png"/>
					<transforms>
						<translate x="-0.06"/>
					</transforms>				
				</trianglestrip>
				<trianglestrip>
					<xyz>
						0.1 	0.0 	0.0
						-0.1 	0.0 	0.0
						0.1 	0.26666 0.0
						-0.1	0.26666 0.0
					</xyz>
					
					<texcoord>
			            1.0 0.0 
						0.0 0.0
						1.0 1.0 
						0.0 1.0				
					</texcoord>
					
					<texture static-src="button_up_hover.png"/>
				</trianglestrip>
				<trianglestrip>
					<xyz>
						0.0 	0.0 	0.0
						0.2 	0.0 	0.0
						0.0 	0.26666 0.0
						0.2		0.26666 0.0
					</xyz>
					
					<texcoord>
			            1.0 0.0 
						0.0 0.0
						1.0 1.0 
						0.0 1.0				
					</texcoord>
					
					<texture static-src="button_prev_hover.png"/>
					<transforms>
						<translate x="0.06"/>
					</transforms>
				</trianglestrip>
		</container>			
			
		</world>
	</worlds>
	
	<render-instructions>  
		<render-to clear-color="#00000000" buffer="back" viewport="menu"/>
	</render-instructions>
</m3danim>
