º¯È¯ÀÌ Á¾·áµÇ´Â Æ÷ÀÎÆ®¸¦ ³ªÅ¸³»´Â °ªÀ» ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
¼Ó¼º°ªÀº º¯È¯ÀÌ Á¾·áµÇ´Â Æ÷ÀÎÆ®¸¦ ³ªÅ¸³»´Â ¹®ÀÚ¿ÀÌ´Ù.
0.0 | º¯È¯ÀÌ Áï½Ã Á¾·áµÈ´Ù. |
1.0 | µðÆúÆ®ÀÌ¸ç º¯È¯ÀÌ ¿Ï·áµÇ´Â ½ËÁ¡ÀÌ Á¾·á Æ÷ÀÎÆ®ÀÌ´Ù. |
À¯È¿ÇÑ °ªÀÇ ¹üÀ§´Â 0.0¿¡¼ 1.0 »çÀÌ ÀÌ´Ù
ÀÌ ¼Ó¼ºÀº ÀбâÀü¿ë ȤÀº Àбâ/¾²±â·Î µðÆúÆ®°ªÀº 1.0ÀÌ´Ù.
by ¼Ó¼ºÀº µ¿ÀÏÇÑ ¿¤·¹¸àÆ®¿¡¼ to ¼Ó¼º°ú µ¿½Ã¿¡ »ç¿ëµÉ ¼ö ¾ø´Ù.
µÎ°ªÀÌ ¸ðµÎ ¼³Á¤µÇ¾úÀ¸¸é by ¼Ó¼º°ªÀÌ ¹«½ÃµÈ´Ù.
º¯È¯ÀÇ ¹æ½ÄÀº to¿Í from ¼Ó¼º¿¡ ¼³Á¤µÈ °ª¿¡µû¶ó ¹æ½ÄÀÌ inÀ̳ª outÀ¸·Î º¯È¯µÈ´Ù. ¿¹¸¦µé¾î from ¼Ó¼º°ªÀÌ 1.0ÀÌ°í to ¼Ó¼º°ªÀÌ 0.0À¸·Î ¼³Á¤µÇ¾úÀ¸¸é, º¯È¯Àº Á¡Á¡ »ç¶óÁö´Â ¹æ½Ä(out)À¸·Î ³ªÅ¸³´Ù. ±×·¯³ª Á¡Á¡ »ç¶óÁö´Â ¹æ½Ä(out)À¸·Î º¯È¯ÇÏ·Á¸é, ÀüÇüÀûÀÎ mode ¼Ó¼ºÀ» »ç¿ëÇÒ ¼ö ÀÖ´Ù.
values ¾ÖÆ®¸®ºäÆ®°ªÀÌ ¼³Á¤µÇ¾úÀ¸¸é, to ¼Ó¼º¿¡ ¼³Á¤µÈ °ªÀÌ ¹«½ÃµÈ´Ù.
È°¼º ÁßÀÎ ¾Ö´Ï¸ÞÀ̼ǿ¡¼ ¼Ó¼ºµéÀ» ½ºÆ®¸³Æ®¸¦ »ç¿ëÇÏ¿© ź·ÂÀûÀ¸·Î º¯°æ½ÃÅ°·Á¸é, Á¦ÀÛÀÚ´Â ¸î°¡Áö ÁÖÀÇÇÏ¿©¾Æ ÇÑ´Ù. È°¼º ¾Ö´Ï¸ÞÀ̼ÇÀÇ ¼Ó¼º°ªµéÀ» º¯°æÇÏ¿© ¹ß»ý ÇÒ ¼ö ÀÖ´Â ½ÃµµÇÏÁö ¾ÊÀº °á°ú¸¦ ÇÇÇϱâ À§ÇÏ¿©, ¾Ö´Ï¸ÞÀ̼ÇÀ» beginElement ¸Þ¼µå¸¦ »ç¿ëÇÏ¿© ´Ù½Ã ½ÃÀÛÇÑ´Ù. ¿¹¸¦µé¸é
<SCRIPT> object.endElement(); object.to='0.8'; object.beginElement(); </SCRIPT>
animate, animateMotion°ú animateColor °³Ã¼´Â HTML time2 ºñÇìÀ̹ö¸¦ »ç¿ëÇÏ°í ´ÙÀ½ÀÇ ¸ðµ¨¿¡ ÀÇÇÏ¿© ¾Ö´Ï¸ÞÀÌ¼Ç ¼Ó¼ºµéÀ» Æò°¡ÇÑ´Ù.
°³Ã¼ | script | HTML | ±Ô°Ý | IE |
---|
<HTML xmlns:t="urn:schemas-microsoft-com:time"> <HEAD> <STYLE>.time{behavior: url(#default#time2);}</STYLE> <IMPORT namespace=t urn="urn:schemas-microsoft-com:time" implementation="#default#time2" /> <SCRIPT> var job=ttype='in'; function showAll(){ if (job=='f+') trsFltObj.from+=0.1; if (job=='f-') trsFltObj.from-=0.1; if (job=='t+') trsFltObj.to+=0.1; if (job=='t-') trsFltObj.to-=0.1; if (trsFltObj.from<0) trsFltObj.from=0; if (trsFltObj.from>1) trsFltObj.from=1; if (trsFltObj.to<0) trsFltObj.to=0; if (trsFltObj.to>1) trsFltObj.to=1; if (job=='in'){ ttype=job; if (trsFltObj.from>trsFltObj.to){ hold=trsFltObj.from; trsFltObj.from=trsFltObj.to; trsFltObj.to=hold; } } else if (job=='out'){ ttype=job; if (trsFltObj.from<TRSFLTOBJ.to){ hold=trsFltObj.from; trsFltObj.from=trsFltObj.to; trsFltObj.to=hold; } } str='trsFltObj.type='+trsFltObj.type+'<BR>'; str+='trsFltObj.from='+trsFltObj.from.toFixed(1)+'<BR>'; str+='trsFltObj.to='+trsFltObj.to.toFixed(1)+'<BR>'; str+='trsFltObj.dur='+trsFltObj.dur+'<BR>'; job=ttype; showA.innerHTML=str; } </SCRIPT> </HEAD> <BODY> <T:TRANSITIONFILTER id="trsFltObj" type="fanWipe" dur="indefinate" targetElement="divObj" speed=".3" onbegin="showAll()" /> <DIV class="time" id="divObj" dur="indefinate" style=" font:bold x-large fantasy;width:400;height:200;margin:9;padding:9;background:#0000ff;color:#ffffff;"> <SPAN style="position:relative; top:0;">º¯È¯ °³Ã¼ id=trsFltOj</SPAN></DIV> <BUTTON onclick="showAll();trsFltObj.beginElement()">´Ù½Ã ½ÃÀÛ</BUTTON> <BUTTON onclick="job='out';showAll();trsFltObj.beginElement()">»ç¶óÁö°Ô º¯È¯(out)</BUTTON> <BUTTON onclick="job='in';showAll();trsFltObj.beginElement()">³ªÅ¸³ª°Ô º¯È¯(in)</BUTTON><BR> <BUTTON onclick="job='f-';showAll();trsFltObj.beginElement()">form °¨¼Ò</BUTTON> <BUTTON onclick="job='f+';showAll();trsFltObj.beginElement()">from Áõ°¡</BUTTON> <BUTTON onclick="job='t-';showAll();trsFltObj.beginElement()">to °¨¼Ò</BUTTON> <BUTTON onclick="job='t+';showAll();trsFltObj.beginElement()">to Áõ°¡</BUTTON> <DIV id=showA>°á°ú Ç¥½Ãâ</DIV> </BODY> </HTML>