<?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 x="0.5" y="0.47"/>
				</transforms>


				<if video-clip="movie0">
					<container>
						<transforms>
							<translate x="-0.3"/>
						</transforms>

						<trianglestrip>
							<xyz>
								0.2		-0.2666666666	0.0
								-0.2	-0.2666666666	0.0
								0.2		0.2666666666	0.0
								-0.2	0.2666666666	0.0
							</xyz>
							<texcoord>
								1.0   0.0
								0.0   0.0
								1.0   1.0
								0.0   1.0
							</texcoord>
							<texture static-src="border_highlight.png"/>
							<transforms>
							</transforms>					
						</trianglestrip>			
					</container>
				</if>
				
				<if video-clip="movie1">
					<container>
						<transforms>
							<translate x="-0.0"/>
						</transforms>

						<trianglestrip>
							<xyz>
								0.2		-0.2666666666	0.0
								-0.2	-0.2666666666	0.0
								0.2		0.2666666666	0.0
								-0.2	0.2666666666	0.0
							</xyz>
							<texcoord>
								1.0   0.0
								0.0   0.0
								1.0   1.0
								0.0   1.0
							</texcoord>
							<texture static-src="border_highlight.png"/>
							<transforms>
							</transforms>					
						</trianglestrip>			
					</container>
				</if>
			
				<if video-clip="movie2">
					<container>
						<transforms>
							<translate x="0.3"/>
						</transforms>

						<trianglestrip>
							<xyz>
								0.2		-0.2666666666	0.0
								-0.2	-0.2666666666	0.0
								0.2		0.2666666666	0.0
								-0.2	0.2666666666	0.0
							</xyz>
							<texcoord>
								1.0   0.0
								0.0   0.0
								1.0   1.0
								0.0   1.0
							</texcoord>
							<texture static-src="border_highlight.png"/>
							<transforms>
							</transforms>					
						</trianglestrip>			
					</container>
				</if>			
			</container>
		
		
			<!-- Buttons -->
			<container>
				<transforms>
					<translate x="0.5" y="0.85"/>
				</transforms>
				<if bool="prevpage">
					<trianglestrip>
						<xyz>
							0.1		-0.13333333	0.0
							-0.1	-0.13333333	0.0
							0.1		0.13333333	0.0
							-0.1	0.13333333	0.0
						</xyz>
						<texcoord>
							1.0   0.0
							0.0   0.0
							1.0   1.0
							0.0   1.0
						</texcoord>
						<texture static-src="highlight_plain_white.png"/>
						<transforms>
							<translate x="-0.25"/>
						</transforms>					
					</trianglestrip>			
				</if>
				
				<if bool="pageup">
					<trianglestrip>
						<xyz>
							0.1		-0.13333333	0.0
							-0.1	-0.13333333	0.0
							0.1		0.13333333	0.0
							-0.1	0.13333333	0.0
						</xyz>
						<texcoord>
							1.0   0.0
							0.0   0.0
							1.0   1.0
							0.0   1.0
						</texcoord>
						<texture static-src="highlight_plain_white.png"/>
						<transforms>
						</transforms>					
					</trianglestrip>
				</if>
				
				<if bool="nextpage">
					<trianglestrip>
						<xyz>
							0.1		-0.13333333	0.0
							-0.1	-0.13333333	0.0
							0.1		0.13333333	0.0
							-0.1	0.13333333	0.0
						</xyz>
						<texcoord>
							1.0   0.0
							0.0   0.0
							1.0   1.0
							0.0   1.0
						</texcoord>
						<texture static-src="highlight_plain_white.png"/>
						<transforms>
							<translate x="0.25"/>
						</transforms>					
					</trianglestrip>	
				</if>				
			</container>			
		</world>
	</worlds>
	
	<render-instructions>  
		<render-to clear-color="#00000000" buffer="back" viewport="menu"/>
	</render-instructions>
</m3danim>
