<smil xmlns="http://www.w3.org/2005/SMIL21/Language">
  <head>
    <layout>
      <root-layout backgroundColor="#eeffcc" width="205" height="205"/>
      <region id="r" fit="fill"/>
    </layout>
  </head>
  <body>
    <par dur="indefinite">
      <img region="r" src="../images/spline_img02.gif" height="200" width="200" top="5" left="5"/>
      <brush region="r" id="T1" height="10" width="10" top="5" left="5" color="red" />
      <animate begin="2s" dur="5s" calcMode="spline" values="170;35" keySplines=".5 0 .5 1" keyTimes="0; 1" targetElement="T1" attributeName="top" fill="freeze"/>
      <animate begin="2s" dur="5s" calcMode="linear" values="35;170" targetElement="T1" attributeName="left" fill="freeze"/>
    </par>
  </body>
</smil>