anim:DA ¿¡ ÀÇÇÏ¿© µð½ºÇ÷¹À̵Ǵ Microsoft DirectAnimation À̹ÌÁö(DAImage class) °³Ã¼¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.
ÀÌ ¼Ó¼ºÀº Àбâ/¾²±âÀÌ¸ç µðÆúÆ®°ªÀº ¾ø´Ù.
°³Ã¼ | script | XML | ±Ô°Ý | IE |
---|
static DAImage class¸¦ µð½ºÇ÷¹ÀÌÇϱâ À§ÇÏ¿© image ¼Ó¼ºÀ» »ç¿ëÇÑ ¿¹Á¦ÀÌ´Ù.
<HTML> <HEAD> <TITLE>anim:DA image</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="3" t:dur="5"></SPAN> <DIV align="center"><ANIM:DA id="DAObj" style="width:150;height:150;z-index:1;" /></DIV> <SCRIPT language="JScript"> <!-- ma=DAObj.statics; // DA statics library¿¡ º¯¼ö¸¦ ÇÒ´çÇÑ´Ù. imgObj=ma.ImportImage("../../gif/sun.gif"); // DAImage¸¦ »ý¼ºÇÑ´Ù. DAObj.image=imgObj; // anim:DA ű׿¡ ÀÇÇÏ¿© µð½ºÇ÷¹À̵ǵµ·Ï DAImage¸¦ ÁöÁ¤ÇÑ´Ù. --> </SCRIPT> </BODY> </HTML>