½Ã°£È帧(timeline)¿¡¼ ¿¤·¹¸àÆ®°¡ È°¼ºÈµÇ¾ú´Â°¡¸¦ ºÎ¿ï°ªÀ¸·Î ¹ÝȯÇÑ´Ù.
¼Ó¼º°ªÀº ½Ã°£È帧(timeline)¿¡¼ ¿¤·¹¸àÆ®°¡ È°¼ºÈµÇ¾ú´Â°¡¸¦ ³ªÅ¸³»´Â ºÎ¿ï°ªÀÌ´Ù.
true | ½Ã°£È帧(timeline)¿¡¼ ¿¤·¹¸àÆ®°¡ È°¼ºÈµÇ¾ú´Ù. |
false | ½Ã°£È帧(timeline)¿¡¼ ¿¤·¹¸àÆ®°¡ È°¼ºÈµÇÁö ¾Ê¾Ò´Ù. |
ÀÌ ¼Ó¼ºÀº ÀбâÀü¿ëÀÌ¸ç µðÆúÆ®°ªÀº ¾ø´Ù.
°³Ã¼ | script | HTML | ±Ô°Ý | IE |
---|
ÀÌ ¼Ó¼ºÀº (¿µ¹®)SMIL 2.0(Synchronized Multimedia Integration Language)¿¡ Microsoft°¡ È®ÀåÇÑ °ÍÀÌ´Ù.
<HTML xmlns:t="urn:schemas-microsoft-com:time"> <HEAD> <IMPORT namespace="t" implementation="#default#time2"> <STYLE>.time{ behavior: url(#default#time2);}</STYLE> <SCRIPT> function checkIsActive(){ showA.innerText=mediaObj.currTimeState.isActive; if(mediaObj.currTimeState.isActive){ but1Obj.disabled=true; but2Obj.disabled=false; }else{ but1Obj.disabled=false; but2Obj.disabled=true; } } </SCRIPT> </HEAD> <BODY> <T:video id="mediaObj" class="time" begin="0;indefinite;" src="http://msdn.microsoft.com/workshop/samples/author/behaviors/media/movie.avi" onend="checkIsActive();" onbegin="checkIsActive();" fill="remove"/><BR> mediaObj.currTimeState.isActive:<SPAN id="showA" style=color:blue></SPAN><BR> <BUTTON id="but1Obj" onclick="mediaObj.beginElement();">½ÃÀÛ</BUTTON> <BUTTON id="but2Obj" onclick="mediaObj.endElement();">ÁßÁö</BUTTON> </BODY> </HTML>