<!--
            Copyright: Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved.
See http://www.w3.org/Consortium/Legal/.
Author: Kenichi Kubota, Panasonic
       Modified by: Erik Hodge.
           Version: Mar. 23, 2001, v2
      Modification: Changed "expected behavior" comment to reflect the fact that
                    the duration of the par is indefinite until a click happens.
                    Audio can no longer be heard after its intrinsic
                    duration of 26.2s, but the JPG will stay active 
                    until it is activated by the user (clicked), thus
                    causing the audio to resolve its end time, and thus
                    giving the par a resolved end time equal to the time
                    of the click.
            Module: SMIL Timing & Sync Module
           Feature: end attribute
         File Name: end-event.smil
  Media Components: 1 JPG, 1 WAV
 Expected Behavior: end audio file on image click.  End presentation on
                    image click if audio has played for its 26.2 second duration.
-->
<smil xmlns="http://www.w3.org/2001/SMIL20/Language">
  <body>
    <par>
      <img id="image1" src="../images/smile.jpg" />
      <audio src="../sounds/leonidsample.wav" end="image1.activateEvent" />
    </par>
  </body>
</smil>