OrderedGroup {
	children [
        Transform2D {
			translation 0 0
			children [
				Shape {
					appearance Appearance {
						material Material2D {
							emissiveColor 1.0 1.0 1.0
							filled TRUE
						}
					}
					geometry Rectangle {
						size 900 700
					}
				}
			]
		}

#MUSIC SCORE
		Transform2D {
			translation 120 0
			children [
				ScoreShape {
					score DEF SCORE MusicScore {
						url 1
						size 640 700
						startTime -1
						stopTime  -1
						loop true
						hyperlinkEnable true
						partsShown [ 1 ]
     				}
     				geometry Bitmap {}
				}
			]
		}
		Transform2D {
			translation -440 300
			children [
				Shape {
					appearance Appearance {
						material Material2D {
							emissiveColor 0 0 0
							filled TRUE
						}
					}
					geometry Text {
						string ["White Christmas"]
						fontStyle FontStyle {
							family ["Tahoma"]
							justify ["LEFT"]
							size 34
							style "BOLD"
						}
					}
				}
			]
		}

#LYRICS
 		Transform2D {
			translation -440 200
			children [
	            DEF AVL_LYRICS_TS TouchSensor {}
				Shape {
					appearance Appearance {
						material Material2D {
							emissiveColor 0 0 0
							filled TRUE
						}
					}
					geometry Text {
						string ["Available Lyrics:"]
						fontStyle FontStyle {
							family ["Arial"]
							justify ["LEFT"]
							size 18
							style "BOLD"
						}
					}
				}
			]
  		}
		Transform2D {
			translation -440 180
			children [
				Shape {
					appearance Appearance {
						material Material2D {
							emissiveColor 0 0 0
							filled TRUE
						}
					}
					geometry DEF LYRICS Text {
						string ["None"]
						fontStyle FontStyle {
							family ["Arial"]
							justify ["LEFT"]
							size 16
						}
					}
				}
			]
		}

		Transform2D {
			translation -440 150
			children [
	            DEF EN_LYRICS_TS TouchSensor {}
				Shape {
					appearance Appearance {
						material Material2D {
							emissiveColor 0 0 0
							filled TRUE
						}
					}
					geometry Text {
						string ["English"]
						fontStyle FontStyle {
							family ["Arial"]
							justify ["LEFT"]
							size 22
							style "BOLD"
						}
					}
				}
			]
		}

		Transform2D {
			translation -440 120
			children [
	            DEF IT_LYRICS_TS TouchSensor {}
				Shape {
					appearance Appearance {
						material Material2D {
							emissiveColor 0 0 0
							filled TRUE
						}
					}
					geometry Text {
						string ["Italiano"]
						fontStyle FontStyle {
							family ["Arial"]
							justify ["LEFT"]
							size 22
							style "BOLD"
						}
					}
				}
			]
		}
		DEF IT_LYRICS_SEL Conditional {
			buffer {
				REPLACE SCORE.partsLyrics BY [ "it" ]
			}
		}
		DEF EN_LYRICS_SEL Conditional {
			buffer {
				REPLACE SCORE.partsLyrics BY [ "en" ]
			}
		}

    ]
}

ROUTE SCORE.availableLyricLanguages TO LYRICS.string
ROUTE IT_LYRICS_TS.isActive TO IT_LYRICS_SEL.activate
ROUTE EN_LYRICS_TS.isActive TO EN_LYRICS_SEL.activate

AT 0
UPDATE OD [
{
   objectDescriptorID  1
   muxScript white-christmas.scr
}
]