½Ã°£È帧(timeline)¿¡¼­ ¿¤·¹¸àÆ®°¡ È°¼ºÈ­µÇ¾ú´Â°¡¸¦ ºÎ¿ï°ªÀ¸·Î ¹ÝȯÇÑ´Ù.

Àμö
: (¼Ó¼º ºÎ¿ï°ª)

¼Ó¼º°ªÀº ½Ã°£È帧(timeline)¿¡¼­ ¿¤·¹¸àÆ®°¡ È°¼ºÈ­µÇ¾ú´Â°¡¸¦ ³ªÅ¸³»´Â ºÎ¿ï°ªÀÌ´Ù.

true ½Ã°£È帧(timeline)¿¡¼­ ¿¤·¹¸àÆ®°¡ È°¼ºÈ­µÇ¾ú´Ù.
false ½Ã°£È帧(timeline)¿¡¼­ ¿¤·¹¸àÆ®°¡ È°¼ºÈ­µÇÁö ¾Ê¾Ò´Ù.

ÀÌ ¼Ó¼ºÀº ÀбâÀü¿ëÀÌ¸ç µðÆúÆ®°ªÀº ¾ø´Ù.

Àû¿ë
°³Ã¼scriptHTML±Ô°ÝIE
ÂüÁ¶
HTML+time, activeElements, isOn, isPaused, state, stateString

ÀÌ ¼Ó¼ºÀº (¿µ¹®)SMIL 2.0(Synchronized Multimedia Integration Language)¿¡ Microsoft°¡ È®ÀåÇÑ °ÍÀÌ´Ù.


isActive ¿¹Á¦


mediaObj.currTimeState.isActive:
<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>