<ActorFrame> <children>

	<Layer Type="ActorFrame" OnCommand="x,SCREEN_CENTER_X;y,SCREEN_TOP-30;decelerate,0.5;y,SCREEN_TOP+20"><children>

		<!-- Song Information -->

		<Layer
		Font="Splat2"
		Text="Song name"
		OnCommand="%function(self)
		self:y(0)
		self:zoom(.5)
		self:shadowlength(1)
		self:maxwidth(SCREEN_WIDTH/2)
		end"
		OffCommand="linear,0.3;diffusealpha,0"
		InitCommand="animate,0;playcommand,Update"
		CurrentSongChangedMessageCommand="playcommand,Update"
		UpdateCommand="%function(self)
			if GAMESTATE:GetCurrentSong() then
				self:finishtweening()
				self:hidden(0)
				self:settext(GAMESTATE:GetCurrentSong():GetDisplayFullTitle())
				self:diffuse(0,1,1,1)
				self:zoom(0.6)
				self:decelerate(0.2)
				self:diffuse(1,1,1,1)
				self:zoom(0.5)
			else
				self:hidden(1)
			end
		end"
		/>

		<Layer
		Font="Splat2"
		Text="Update Timer"
		OnCommand="%function(self)
		self:y(20)
		self:zoom(.7)
		self:shadowlength(1)
		self:maxwidth(SCREEN_WIDTH/2)
		end"
		OffCommand="linear,0.3;diffusealpha,0"
		InitCommand="animate,0;playcommand,Update"
		CurrentSongChangedMessageCommand="playcommand,Update"
		UpdateCommand="%function(self)
			if GAMESTATE:GetCurrentSong() then
				self:finishtweening()
				self:hidden(0)
				self:settext(GAMESTATE:GetCurrentSong():GetDisplayArtist())
				self:diffuse(0,1,1,1)
				self:zoom(0.8)
				self:decelerate(0.15)
				self:diffuse(1,1,1,1)
				self:zoom(0.7)
			else
				self:hidden(1)
			end
		end"
		/>

	</children></Layer>

</children> </ActorFrame>
