현재 상태에 다운로드된 바이트(byte) 수를 나타내는 값을 반환한다.
![]() | Script | [iVal=]object.downloadCurrent |
HTML | 없음 |
downloadCurrent 속성값은 다운로드 중 현재 다운로드된 바이트 수를 나타내는 정수이다.
이 속성은 읽기전용이며 디폴트값은 없다.
이 속성은 흐름(streaming) 내용에만 적용된다.
개체 | script | HTML | 규격 | IE |
---|---|---|---|---|
animation | [iVal=]animation.downloadCurrent | 없음 | 없음 | IE6(win32) |
audio | [iVal=]audio.downloadCurrent | 없음 | 없음 | IE6(win32) |
img | [iVal=]img.downloadCurrent | 없음 | 없음 | IE6(win32) |
media | [iVal=]media.downloadCurrent | 없음 | 없음 | IE6(win32) |
ref | [iVal=]ref.downloadCurrent | 없음 | 없음 | IE6(win32) |
video | [iVal=]video.downloadCurrent | 없음 | 없음 | IE6(win32) |
![]() | downloadCurrent 속성⇒ | ![]() | ![]() ![]() ![]() |
mediaObj.downloadCurrent= 0
mediaObj.downloadTotal= 0
syncBehavior 애트리뷰트를 locked로 설정하여, 메디어가 플레이 준비될 때까지 모체 시간이 진행되지 않는다.
<HTML xmlns:t="urn:schemas-microsoft-com:time"> <IMPORT namespace="t" implementation="#default#time2"> <STYLE>.time{behavior:url(#default#time2)}</STYLE> <BODY> <T:MEDIA id="mediaObj" src="http://msdn.microsoft.com/workshop/samples/author/behaviors/media/movie.avi" syncBehavior="locked" timeAction="display" style="width:300"/> <P>mediaObj.downloadCurrent= <SPAN class="time" dur="0.1" repeatCount="indefinite" onrepeat="innerText=mediaObj.downloadCurrent;" style="color:blue">0</SPAN></P> <P>mediaObj.downloadTotal= <SPAN class="time" dur="0.1" repeatCount="indefinite" onrepeat="innerText=mediaObj.downloadTotal;" style="color:navy">0</SPAN></P> </BODY> </HTML>
![]() | downloadCurrent 속성 | ⇒ | ![]() ![]() |
최종 수정: 04/06/2025 13:28:32 | ![]() All right reserved | 비정상적인 방식으로 프레임없이 페이지에 접속하면 자주 오류가 발생됩니다. 오류가 나면 정상적 접속으로 시도해 보세요. | http://koxo.com/lang/js/property/downloadCurrent.html |