TIME:
Timer: 0
Backgroundcolor = #ffffff
EXPECTED BEHAVIOR:
animateColor will begin at 1 second and have a duration of 2 seconds.
At 0 seconds, the color will be WHITE - #FFFFFF.
At 1 second, animateColor begins and the color will imediately turn RED - #FF0000.
At 2 seconds, the midpoint of animateColor, the color jumps to #FF00FF.
At 3 seconds, the color should be #FF00FF and animateColor Ends.
After animateColor ends, the timedElement should be REMOVED, leaving the original value of #FFFFFF.
**Note: calcmode="discrete" color values jump from one to the next without animation
SAMPLE CODE:
<div id="timedElement" style="border:1px solid black;background:WHITE; width:100; height:100;"></div>
<t:animateColor targetElement="timedElement" attributeName="backgroundColor" begin="1s" dur="2s" from="ff0000" by="#0000ff" fill="remove" calcmode="discrete"></t:animateColor>
INFORMATION:
Copyright: Copyright 1998-2001 W3C (MIT, INRIA, Keio), All Rights Reserved. See http://www.w3.org/Consortium/Legal/. Author: Debbie Newman, Microsoft
Version: 10/09/2000
Module: animation
Feature: animateColor calcmode=discrete, fill=remove
File Name: animateColor_fromBy_remove_discrete.htm
Media Components: None