- From: Cameron McCormack <cam-www-smil@aka.mcc.id.au>
- Date: Tue, 7 Feb 2006 11:28:19 +1100
- To: www-smil@w3.org
Hi. There is an example[1] in SMIL 2.1 (which is also in SMIL Animation) that uses calcMode="discrete", a values and a keyTimes attribute, but the number of values and keyTimes do not match. The example is: Discrete animation can be used with keyTimes, as in the following example: <animateColor attributeName="color" dur="10s" calcMode="discrete" values="green; yellow; red" keyTimes="0.0; 0.8;" /> This example also shows how keyTimes values can interact with an indefinite duration. The value of the "color" attribute will be set to green for 5 seconds, and then to yellow for 5 seconds, and then will remain red for the remainder of the document, since the (unspecified) duration defaults to "indefinite". Yet in the prose for the keyTimes attribute it says: If a list of keyTimes is specified, there must be exactly as many values in the keyTimes list as in the values list. Is the example incorrect or can key times indeed be omitted? Thanks, Cameron [1] http://www.w3.org/TR/2005/REC-SMIL2-20051213/animation.html#animationNS-InterpolationExamplesAdvanced -- Cameron McCormack ICQ: 26955922 cam (at) mcc.id.au MSN: cam (at) mcc.id.au http://mcc.id.au/ JBR: heycam (at) jabber.org
Received on Tuesday, 7 February 2006 00:28:27 UTC