TIMER:
Timer: 0
EXPECTED BEHAVIOR:
Testing: keySplines, keyTimes, additive.
The inner box animation is represented by the blue line on the graph. The outer box is the red line.
At 0 seconds, the inner and outer boxes will be black.
At 2 seconds, the inner and outer boxes will animate from black to white.
At 2-8 seconds, the inner box will animate color slower than the outside box, causing the inner box to still appear black.
At 8 seconds, the inner and outer boxes will reach the color white, quit animating and turn black.
SAMPLE CODE:
<t:animateColor begin="2s" dur="6s" calcMode="spline" keySplines="1 0 .25 .25" keyTimes="0; 1" targetElement="T1" values="black;white" additive="sum" attributeName="style.backgroundcolor" fill="remove"/>
<t:animateColor begin="2s" dur="6s" CalcMode=linear keyTimes="0; 1" targetElement=T2 values="black;white" additive="sum" attributeName="style.backgroundcolor" fill="remove"/>
INFORMATION:
Copyright: Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved. See http://www.w3.org/Consortium/Legal/. Author: Debbie Newman, Microsoft
Version: 11/02/2000
Module: animateColor
Feature: calcMode="spline" keySplines="1 0 .25 .25" keyTimes="0; 1" values="black;white" additive="sum"
File Name: animateColor_spline_004.htm
Media Components: images/spline_img04.gif