ÁöÁ¤µÈ DirectAnimationÀÌ µ¹¾Æ°¡´Â°¡¸¦ ³ªÅ¸³»´Â °³Ã¼¸¦ ¹ÝȯÇÑ´Ù.
true | DABooleanÀÌ µ¹¾Æ°¡°í ÀÖ´Ù. |
false | DABooleanÀÌ µ¹¾Æ°¡Áö ¾Ê´Â´Ù. |
ÀÌ ¼Ó¼ºÀº ÀбâÀü¿ëÀÌ¸ç µðÆúÆ®°ªÀº ¾ø´Ù.
ÀÌ ¼Ó¼ºÀº HTML+time¿¡ ÀÇÇÏ¿© IE5¿¡¼ µµÀԵǾú°í ºÒ·®ÈµÇ¾ú´Ù.
´ë½Å SMIL 2.0¿¡ ÀÇÇÑ HTML+time2¸¦ »ç¿ëÇ϶ó.
ÀÌ ¼Ó¼ºÀº Ç×»ó anim:DA ¿¤·¹¸àÆ® ¸¦ »ç¿ëÇÏ´Â HTML ÆäÀÌÁöÀÇ 2-D, 3-D ¾Ö´Ï¸ÞÀÌ¼Ç À̹ÌÁö³ª »ç¿îµå¿Í °°Àº ¸ÖƼ¹Ìµð¾î ¿¤·¹¸àÆ®¿¡ »ç¿ëµÈ´Ù.
ÀÌ ¼Ó¼ºÀÌ Àû¿ëµÇ´Â °³Ã¼´Â À¯È¿ÇÑ HTML+time(Timed Interactive Multimedia Extensions)À» °®´Â HTML ½Ã°£ °³Ã¼À̾î¾ß ÇÑ´Ù.
ÀÌ ½Ã°£°ü·Ã ¼Ó¼ºÀº DirectAnimation ³»¿ëÀ» Á¦¾îÇÑ´Ù.
ÀÌ ¼Ó¼ºÀº HTML+time ±âÁØÀÇ ÀϺδ ¾Æ´Ï´Ù.
À̵éÀº DirectAnimation ³»¿ëÀ» Á¦¾îÇϱâ À§ÇÑ HTML+timeÀ» »ç¿ëÇÏ´Â ÆäÀ̵鿡¼¸¸ ÇÊ¿äÇÑ´Ù.
°³Ã¼ | script | HTML | ±Ô°Ý | IE |
---|
ÀÌ ¼Ó¼ºÀº (¿µ¹®) HTML+time 1.0¿¡¼ Á¤ÀǵǾú´Ù.
DirectAnimation ºñÇìÀ̹ö°¡ ½ÃÀ۵DZâ Àü¿¡ À̹ÌÁö°¡ µð½ºÇ÷¹À̵ȴÙ. 5ÃÊÈÄ, »õ·Î¿î À̹ÌÁö°¡ ¸ÕÀú À̹ÌÁö¸¦ ´ëüÇÑ´Ù. »õ À̸ÞÁö´Â ¾Ö´Ï¸ÞÀÌ¼Ç 5Ãʵ¿¾È¿¡ Á¡Â÷ »ç¶óÁö°í óÀ½ÀÇ À̹ÌÁö°¡ ´Ù´Ï ³ªÅ¸³´Ù.
DirectAnimationÀ¸·Î À̹ÌÁö ¾Ö´Ï¸ÞÀ̼±Çϱâ À§ÇÏ¿© ½Ã°£(HTML+time)À» ÷ºÎÇÏ¿´´Ù.
ÇÑ À̹ÌÁö°¡ µð½ºÇ÷¹À̵Ǵ µ¿¾È ¾Ö´Ï¸ÞÀ̼ÇÀÌ µ¹¾Æ°¡°í, ¾Ö´Ï¸ÞÀ̼ÇÀÌ ÁßÁöµÇ´Â µ¿¾È ´Ù¸¥ À̹ÌÁö°¡ µð½ºÇ÷¹ÀÌµÇ°Ô Çϱâ À§ÇÏ¿© onOffBehavior ¼Ó¼ºÀÌ »ç¿ëµÇ¾ú´Ù.
<HTML> <HEAD> <TITLE>Behavior ÁøÇà ¿¹Á¦</TITLE> <XML:namespace prefix="anim"/> <STYLE> .time { behavior: url(#time);} anim\:DA { behavior: url(#default#anim);} </STYLE> <OBJECT id="time" classid="CLSID:476C391C-3E0D-11D2-B948-00C04FA32195"></OBJECT> </HEAD> <BODY> <SPAN id="spanImg" class="time" t:timeaction="visibility" t:begin="5" t:dur="5"></SPAN> <DIV align="center"><ANIM:DA id="da1" style="width:504; height:126; z-index: -1;" /></DIV><BR> <BUTTON onclick="spanImg.beginElement();" style=margin-left:13em>´Ù½Ã ½ÃÀÛ</BUTTON> <SCRIPT> <!-- mObj = da1.statics; // DA statics ¶óÀ̺귯¸®¿¡ º¯¼ö¸¦ ÇÒ´çÇÑ´Ù. img1 = mObj.ImportImage('http://msdn.microsoft.com/workshop/graphics/solarsys.gif'); // DAImage¸¦ »ý¼ºÇÑ´Ù. img2 = mObj.ImportImage('http://msdn.microsoft.com/workshop/graphics/sun.gif'); // ºñÇìÀ̹ö°¡ ÀÛµ¿µÇ´Â µ¿¾È img1ÀÌ µð½ºÇ÷¹À̵ǰí, ÁßÁöµÈ µ¿¾È img2°¡ ³ªÅ¸³´Ù. img3 = mObj.Cond(spanImg.onOffBehavior, img1, img2) // ½Ã°£(time) ºñÇìÀ̹ö ÁøÇà¿¡ µû¶ó À̹ÌÁöÀÇ Åõ¸íµµ°¡ 100%¿¡¼ 0%À¸·Î ¾Ö´Ï¸ÞÀÌÆ®µÈ´Ù. // ÀûÁ¤ÇÑ Åõ¸íµµ Ç¥ÇöÀ» À§ÇÏ¿© (1 - ÁøÇà)À» »ç¿ëÇÑ´Ù. img4 = img3.OpacityAnim(mObj.Sub(mObj.DANumber(1),spanImg.progressBehavior)); // ÃÖÁ¾ À̹ÌÁö ºñÇìÀ̹ö¸¦ À§ÇÏ¿© DA °³Ã¼ÀÇ À̹ÌÁö¸¦ ¼³Á¤ÇÑ´Ù. da1.image = img4; //--> </SCRIPT> </BODY> </HTML>