t:ANIMATECOLOR ¿¤·¹¸àÆ®ÀÇ ¼¼¹ÌÄÝ·Ð(;)À¸·Î ºÐ¸®µÈ RGB ½Ä»ó°ªµéÀÇ ¸ñ·ÏÀ¸·Î ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.

Àμö
: (¼Ó¼º ¹®ÀÚ¿­)

¼Ó¼º°ªÀº t:ANIMATECOLOR ¿¤·¹¸àÆ®ÀÇ ¼¼¹ÌÄÝ·Ð(;)À¸·Î ºÐ¸®µÈ RGB ½Ä»ó°ªµéÀÇ ¸ñ·ÏÀ» ³ªÅ¸³»´Â ¹®ÀÚ¿­ÀÌ´Ù.

°ªµéÀº ³ªÅ¸³­ ¼ø¼­¿¡µû¶ó ¾Ö´Ï¸ÞÀ̼ÇÀÌ ÀϾ´Â ¼ø¼­¸¦ °áÁ¤ÇÏ°í Àû¿ëµÈ´Ù.

ÀÌ ¼Ó¼ºÀº Àбâ/¾²±âÀÌ¸ç µðÆúÆ®°ªÀº ¾ø´Ù.

Ư±â

¾Ö´Ï¸ÞÀ̼ÇÀÇ values´Â attributeName ¼Ó¼º¿¡ À¯È¿ÇÑ °ªÀ̾î¾ß ÇÑ´Ù. t:ANIMATECOLOR¿¡¼­ À¯È¿ÇÑ °ªµéÀº »ö»óÀÇ 16Áø¼ö RGB °ª(¿¹: #ffff00)À̳ª »ö»óÀ» ³ªÅ¸³»´Â Å°¿öµå(¿¹: yellow)µéÀÌ´Ù. »ö»óÇ¥¸¦ ÂüÁ¶Ç϶ó.

values ¼Ó¼ºÀº ¾Ö´Ï¸ÞÀ̼ǿ¡ ¼³Á¤µÇ¾î ÀÖ´Â to, fromÀ̳ª by ¼Ó¼º°ªµéÀ» ¼Ó¼º°ªÀº µ¤¾î¾º¿î´Ù.

calcMode ¼Ó¼ºÀº ¾î¶»°Ô values ¾ÖÆ®¸®ºäÆ®°¡ Çؼ®µÇ´Â°¡¸¦ °áÁ¤ÇÑ´Ù. calcMode ¼³Á¤¿¡µû¶ó, values ¾ÖÆ®¸®ºäÆ®¿¡ ¸ñ·ÏÈ­µÈ °ªµé »çÀÌ¿¡ linear, discrete, paced, ³ª splined¸¦ ÁöÁ¤ÇÒ ¼ö ÀÖ´Ù. ÀÌµé ¼³Á¤Àº ¾Ö´Ï¸Þ¿¡¼Ç °úÁ¤ Áß¿¡ »ö»ó°ªµî ÇÑ °ª¿¡¼­ ´Ù¸¥ °ªÀ¸·Î º¯°æµÇ´Â ¹æ½ÄÀ» °áÁ¤ÇÑ´Ù. ¿©±â¼­ º¯È¯ÀÇ °¡¼ÓÀ̳ª °¨¼Óµîµµ ÁöÁ¤ÇÒ ¼ö ÀÖ´Ù.

½ºÅ©¸³Æ®¸¦ »ç¿ëÇÏ¿© È°¼º ¾Ö´Ï¸ÞÀ̼ÇÀ» ź·ÂÀûÀ¸·Î º¯°æ½Ãų ¶§, ÀÛ¼ºÀÚ´Â ¸î°¡Áö ÁÖÀÇÇÏ¿©¾ß ÇÑ´Ù. °á°ú°¡ ÀǵµÇÑ ¹Ù¿Í ´Ù¸£°Å³ª ÀÌ»óÇÏ°Ô µÇÁö ¾Ê°ÔÇϱâ À§Çؼ­´Â, ¼Ó¼ºµéÀÇ °ªÀ» º¯°æÇÑ ÈÄ beginElement ¸Þ¼­µå¸¦ »ç¿ëÇÏ¿© ´Ù½Ã ½ÃÀÛÇÏ´Â °ÍÀÌ ÁÁ´Ù.

<SCRIPT>
object.endElement();
object.values='cyan;#0000FF';
object.beginElement();
</SCRIPT>

animate, animateMotion°ú animateColor °³Ã¼µé¿¡¼­´Â, HTML time2 ºñÇìÀ̹ö°¡ »ç¿ëµÇ¾î ¾î´À ¼Ó¼ºÀÌ ¾Ö´Ï¸ÞÀ̼ǵǴ°¡¸¦ ÆÇÁ¤ÇÏ´Â ¸ðµå°¡ »ç¿ëµÈ´Ù.

Àû¿ë
°³Ã¼scriptHTML±Ô°ÝIE
ÂüÁ¶
HTML+time begin by clacMode dur fill from targetElement to values »ö»óÇ¥

div1Obj
div2Obj

t:ANIMATECOLOR ¿¤·¹¸àÆ®ÀÇ values °ª¿¡µû¶ó »ö»óÀÌ
ani1Obj¿¡¼­´Â #0000FF;cyan;lightGreenÀ¸·Î,
ani2Obj¿¡¼­´Â pink;#FF0000;yellow·Î ¼øÂ÷ÀûÀ¸·Î °¢°¢ 5Ãʵ¿¾È¿¡ ¾Ö´Ï¸Þ´Ï¼ÇµÈ´Ù.

<HTML xmlns:t="urn:schemas-microsoft-com:time">
<HEAD>
<STYLE>.time {behavior: url(#default#time2);}</STYLE>
<IMPORT namespace="t" implementation="#default#time2">
</HEAD>
<BODY>
<T:PAR id="parObj" begin="0" dur="10" fill="hold">
  <T:ANIMATECOLOR id="ani1Obj" targetElement="div1Obj"
    attributeName="background-color" values="#0000FF;cyan;lightGreen" begin="0" dur="5" fill="hold"/>
  <T:ANIMATECOLOR id="ani2Obj" targetElement="div2Obj"
    attributeName="background-color" values="pink;#FF0000;yellow" begin="0" dur="5" fill="hold"/>
</T:PAR>
<DIV id="div1Obj" class="time" style="position:relative;top:0;left:0;width:300;height:200;font-size:18;
  background-color:#0000ff;text-align:center;padding:5;border:3 solid yellow">div1Obj</DIV>
<DIV id="div2Obj" class="time" style="position:relative;top:-125;left:50;width:200;height:100;font-size:18;
  background-color:pink; text-align:center;padding:5;border:3 dotted aqua">div2Obj</DIV>
<DIV style=position:relative;top:-100;left:10>
<SCRIPT>
document.write('ani1Obj.values='+ani1Obj.values+'<BR>')
document.write('ani2Obj.values='+ani2Obj.values+'<BR>')
</SCRIPT>
</DIV>
<BUTTON onclick="parObj.beginElement()">´Ù½Ã ½ÃÀÛ</BUTTON>
</BODY>
</HTML>