<smil xmlns="http://www.w3.org/2001/SMIL20/Language">
    <head>
        <layout>
            <root-layout width="640" height="480" backgroundColor="white"/>
            <region id="timedElement"  backgroundColor="blue" top="10px" left="10px"  height="100px" width="50px" z-index="1"/>
            <region id="timedElement2" backgroundColor="blue" top="10px" left="60px"  height="100px" width="50px" z-index="1"/>
            <region id="timedElement3" backgroundColor="blue" top="10px" left="110px" height="100px" width="50px" z-index="1"/>
            <region id="timedElement4" backgroundColor="blue" top="10px" left="170px" height="100px" width="50px" z-index="1"/>
            <region id="timedElement5" backgroundColor="blue" top="10px" left="230px" height="100px" width="50px" z-index="1"/>
            <region id="timedElement6" backgroundColor="blue" top="10px" left="280px" height="100px" width="50px" z-index="1"/>
            <region id="timedElement7" backgroundColor="blue" top="10px" left="330px" height="100px" width="50px" z-index="1"/>
            <region id="timedElement8" backgroundColor="blue" top="10px" left="390px" height="100px" width="50px" z-index="1"/>
            <region id="timedElement9" backgroundColor="blue" top="10px" left="450px" height="100px" width="50px" z-index="1"/>
        </layout>
    </head>
    <body>
        <par dur="indefinite">     	
		
		<animateMotion  to="5,400" begin="2.25s" accelerate="1" autoReverse="true" repeatCount="5" dur="2s" targetElement="timedElement"  calcMode="linear" fill="freeze"/>
		<animateMotion  to="5,400" begin="2.5s"  accelerate="1" autoReverse="true" repeatCount="5" dur="2s" targetElement="timedElement2" calcMode="linear" fill="freeze"/>
		<animateMotion  to="5,400" begin="2.75s" accelerate="1" autoReverse="true" repeatCount="5" dur="2s" targetElement="timedElement3" calcMode="linear" fill="freeze"/>
		<animateMotion  to="5,400" begin="3s"    accelerate="1" autoReverse="true" repeatCount="5" dur="2s" targetElement="timedElement4" calcMode="linear" fill="freeze"/>
		<animateMotion  to="5,400" begin="3.25s" accelerate="1" autoReverse="true" repeatCount="5" dur="2s" targetElement="timedElement5" calcMode="linear" fill="freeze"/>
		<animateMotion  to="5,400" begin="3.5s"  accelerate="1" autoReverse="true" repeatCount="5" dur="2s" targetElement="timedElement6" calcMode="linear" fill="freeze"/>
		<animateMotion  to="5,400" begin="3.75s" accelerate="1" autoReverse="true" repeatCount="5" dur="2s" targetElement="timedElement7" calcMode="linear" fill="freeze"/>
		<animateMotion  to="5,400" begin="4s"    accelerate="1" autoReverse="true" repeatCount="5" dur="2s" targetElement="timedElement8" calcMode="linear" fill="freeze"/>
		<animateMotion  to="5,400" begin="4.25s" accelerate="1" autoReverse="true" repeatCount="5" dur="2s" targetElement="timedElement9" calcMode="linear" fill="freeze"/>
		
		<animateColor attributeName="backgroundColor" values="blue;green;yellow;orange;red" begin="2.25s" accelerate="1" autoReverse="true" repeatCount="5" dur="2s" targetElement="timedElement" calcMode="linear" fill="freeze"/>
		<animateColor attributeName="backgroundColor" values="blue;green;yellow;orange;red" begin="2.5s"  accelerate="1" autoReverse="true" repeatCount="5" dur="2s" targetElement="timedElement2" calcMode="linear" fill="freeze"/>
		<animateColor attributeName="backgroundColor" values="blue;green;yellow;orange;red" begin="2.75s" accelerate="1" autoReverse="true" repeatCount="5" dur="2s" targetElement="timedElement3" calcMode="linear" fill="freeze"/>
		<animateColor attributeName="backgroundColor" values="blue;green;yellow;orange;red" begin="3s"    accelerate="1" autoReverse="true" repeatCount="5" dur="2s" targetElement="timedElement4" calcMode="linear" fill="freeze"/>
		<animateColor attributeName="backgroundColor" values="blue;green;yellow;orange;red" begin="3.25s" accelerate="1" autoReverse="true" repeatCount="5" dur="2s" targetElement="timedElement5" calcMode="linear" fill="freeze"/>
		<animateColor attributeName="backgroundColor" values="blue;green;yellow;orange;red" begin="3.5s"  accelerate="1" autoReverse="true" repeatCount="5" dur="2s" targetElement="timedElement6" calcMode="linear" fill="freeze"/>
		<animateColor attributeName="backgroundColor" values="blue;green;yellow;orange;red" begin="3.75s" accelerate="1" autoReverse="true" repeatCount="5" dur="2s" targetElement="timedElement7" calcMode="linear" fill="freeze"/>
		<animateColor attributeName="backgroundColor" values="blue;green;yellow;orange;red" begin="4s"    accelerate="1" autoReverse="true" repeatCount="5" dur="2s" targetElement="timedElement8" calcMode="linear" fill="freeze"/>
		<animateColor attributeName="backgroundColor" values="blue;green;yellow;orange;red" begin="4.25s" accelerate="1" autoReverse="true" repeatCount="5" dur="2s" targetElement="timedElement9" calcMode="linear" fill="freeze"/>
        </par>
    </body>
</smil>