ÁöÁ¤µÈ Ä÷º¼ÇÀ¸·ÎºÎÅÍ ÇÑ °³Ã¼À» ¹ÝȯÇÑ´Ù.

Àμö/ÆĶó¸ÞÅÍ
object
ÇʼöÀûÀÎ ¿ä¼ÒÀ̸ç, activeElementsµîÀÇ Àû¿ëµÇ´Â Ä÷º¼ÇÀÌ´Ù.
vIndex
¼±ÅÃÀûÀÎ ¿ä¼ÒÀ̸ç, ¹Ýȯ ¹Þ°íÀúÇÏ´Â °³Ã¼ÀÇ 0¿¡¼­ ½ÃÀÛÇÏ´Â ÀμöÀÎ Á¤¼ö°ªÀÌ´Ù.
ÀÌ °ªÀÌ ÁöÁ¤µÇÁö ¾Ê¾ÒÀ¸¸é µðÆúÆ®°ªÀº 0ÀÌ´Ù.
¹Ýȯ°ª

¹Ýȯ°ª oItemÀº ¼º°øÀûÀ̸é Ä÷º¼Ç¿¡¼­ ÁöÁ¤µÈ Àμö¿¡ ÀÖ´Â ½Ã°£ °³Ã¼¸¦ ¹ÝȯÇÏ°í, ½ÇÆÐÇϸé nullÀ» ¹ÝȯÇÑ´Ù.

Àû¿ë
°³Ã¼scriptIE
ÂüÁ¶
+TIME activeElements

ÀÌ ¸Þ¼­µå´Â (¿µ¹®) SMIL(Synchronized Multimedia Integration Language)¿¡ ´ëÇÑ MicrosoftÀÇ È®ÀåÀÌ´Ù.


item Method Á¦¸ñ=
ÀÛ°¡=
¿ä¾à=
ÀúÀÛ±Ç=
Æ®·¢¹øÈ£ (1-5): /

<HTML xmlns:t="urn:schemas-microsoft-com:time">
<HEAD>
<TITLE>item Method</TITLE>
<META http-equiv="Content-Type" content="text/html; charset=euc-kr">
<IMPORT namespace="t" implementation="#default#time2">
<STYLE>.time{ behavior: url(#default#time2);}</STYLE>
<SCRIPT>
var mOne; // ÇÑ Ç÷¹ÀÌ Ç׸ñ °³Ã¼
function setActiveTrack(){
  if (itemNumber.value=='' || (itemNumber.value<1 || itemNumber.value>5) || (isFinite(itemNumber.value)==false)){
    showA.innerHTML='À¯È¿ÇÑ Æ®·¢ ¹øÈ£À̾î¾ß ÇÔ (1-'+mObj.playList.length+'). itemNumber.value=['+itemNumber.value+']';
    itemNumber.value='';
    itemNumber.focus();
    return;
  } else{
    mOne=mObj.playList.item(itemNumber.value-1); //index 0 ºÎÅÍ ½ÃÀÛ
    totTrack.innerText=mObj.playList.length;
    updateFields();
  }
}
function updateFields(){
  title1.innerText=mObj.playList.activeTrack.title;
  author1.innerText=mObj.playList.activeTrack.author;
  abstract1.innerText=mObj.playList.activeTrack.abstract;
  copyright1.innerText=mObj.playList.activeTrack.copyright;
}
function emptyFields(){
  title1.innerText=author1.innerText=abstract1.innerText=copyright1.innerText='';
}
</SCRIPT>
</HEAD>
<BODY>
<T:media id="mObj" begin="indefinite;" src="../../media/bannerSample.asx" />
Á¦¸ñ=<SPAN id="title1" style=color:blue></SPAN><BR>
ÀÛ°¡=<SPAN id="author1" style=color:blue></SPAN><BR>
¿ä¾à=<SPAN id="abstract1" style=color:blue></SPAN><BR>
ÀúÀÛ±Ç=<SPAN id="copyright1" style=color:blue></SPAN><BR>
Æ®·¢¹øÈ£ (1-5): <INPUT type="text" name="itemNumber" value="1" size="2"> /
  <SPAN id=totTrack style=color:blue></SPAN><BR><BR>
<BUTTON onclick="mObj.beginElement();setActiveTrack();">½ÃÀÛ</BUTTON>
<BUTTON onclick="mObj.endElement();emptyFields();">ÁßÁö</BUTTON>
</BODY>
</HTML>