Ȩ ¼Ò°³

|

ÀڷḶÀ»

|

µðÀÚÀΰü·Ã

|

À¥ÇÁ·Î±×·¥

|

»ç¹«¿ëÇÁ·Î±×·¥

|

¹æ¹®ÀÚÄÚ³Ê

|

°¡Á·°Ô½ÃÆÇ

|

µ¿È£È¸

 
 
 
µðÀÚÀΰü·Ã
  Æ÷Åä¼¥
  ÄÚ·¼µå·Î¿ì
  µð·ºÅÍ
  ½ºÀ§½Ã




°¡Àå ÇÊ¿äÇÑ ÇÁ·Î±×·¥ÀÌ ¹«¾ùÀԴϱî?

¾îÁ¦ : 638

¿À´Ã : 159

ÃÖ´ë : 3,402

Àüü : 751,577

¼Õ´Ô
Á¢¼ÓÀÚ 9¸í, ȸ¿ø 0¸í
 
 
µð·ºÅÍ
¢Æ Home>µðÀÚÀΰü·Ã>µð·ºÅÍ
   
  Director MX 2004 ¿¡¼­ Windows Media
  ±Û¾´ÀÌ : kimmos     ³¯Â¥ : 05-06-09 10:33     Á¶È¸ : 4209     Æ®·¢¹é ÁÖ¼Ò
Director MX 2004 ¿¡¼­ Windows Media
 
Ãâó: Using Windows Media in Director

1. »ç¿ë¹æ¹ý
2. Director MX 2004 ¿¡¼­ »ç¿ë°¡´ÉÇÑ Windows Media
3. System ¿ä±¸»çÇ×
4. »ç¿ë ¸µ°í ¸í·É¾î ¹× ½ºÅ©¸³Æ®..


1. »ç¿ë¹æ¹ý (?)
----------------------------------------------
ÀÌ TechNote¸¦ À§ÇØ, asf°ú mpg ÆÄÀÏÀ» Å×½ºÆ® ÇغýÀ´Ï´Ù.
÷¿¡ Import(ctrl+R) ¸¦ Çغôµ¥, asf ÆÄÀÏÀº import ½ÇÆÐ,
mpg ´Â quicTime À¸·Î Import µÇ¾ú½À´Ï´Ù.
¹°·Ð wmv ³ª ÄÚµ¦¿¡ µû¶ó ¹Ù·Î ImportµÇ´Â °æ¿ìµµ ÀÖÁö¸¸,
Import ¾ÈµÇ´Â Media ¸¦ ±âÁØÀ¸·Î ¼³¸íÇÕ´Ï´Ù.
ÀÌ°ÍÀ» Insert (Insert>media Element>Windows Media...) ¸¦ Çϸé
Windows Media âÀÌ ¶å´Ï´Ù. ¿©±â¼­ insert °¡ µÈ°Ô ¾Æ´Ï°í,
ÀÏ´Ü Member Name À» ¼³Á¤ÇÕ´Ï´Ù. À§ÀÇ ¿¹µéó·³ "Video" ·Î Çغ¸¼¼¿ä...
±×·³, Cast Library ¿¡ "Video"¶ó´Â Windows Media Icon ÀÌ ÀÖ´Â,
Cast member°¡ »ý¼ºµÇ¾ú½À´Ï´Ù.
¿©±â¼­ ±×³É ¸µÅ©°¡ µÈ°ÍÀÌ ¾Æ´Ï¶ó... ÀÏ´Ü WM member°¡ »ý¼ºµÈ°Í¿¡
ºÒ°ú ÇÕ´Ï´Ù. Import ÇÏ°íÀÚ ÇÏ´Â ÆÄÀϸíÀ» ¸µÅ©¸¦ ½ÃÄÑÁà¾ß ÇÕ´Ï´Ù.

  member("Video").fileName = _movie.Path & "sample.asf"
 
¿©±â¼­, _movie.Path ´Â the moviePath ¿Í °°Àº °Ì´Ï´Ù.
2004 ¹öÀüºÎÅÍ´Â _movie ¸¦ ¸¹ÀÌ »ç¿ëÇÕ´Ï´Ù. ÀÌ·±½ÄÀ¸·Î ¸µÅ©¸¦ ÇØÁà¾ß
Windows Media â¿¡¼­ smaple.asf ÆÄÀÏÀ» º¼¼ö°¡ ÀÖ½À´Ï´Ù.
³ª¸ÓÁö ¸í·ÉµéÀº À§ÀÇ ¸í·ÉµéÀ» ÂüÁ¶Çϼ¼¿ä...
Á÷Á¢ Çغ¸¼Å¾ß ½Ç¼ö ÇÏÁö ¾ÊÀ»µí ÇÕ´Ï´Ù.

±»ÀÌ ActiveX ¸¦ »ç¿ëÇÏÁö ¾Ê°íµµ ¿Ïº®ÇÏ°Ô Á¦¾î °¡´ÉÇϳ׿ä... ^^;
Ãʺ¸ºÐµé²²µµ ÁÁÀº ¼Ò½ÄÀ̳׿ä...
----------------------------------------------



2. Director MX 2004 ¿¡¼­ »ç¿ë°¡´ÉÇÑ Windows Media
----------------------------------------------
WMV & WMA
MPEG-1, MPEG-2
AVI
ASF
DivX
WAV, AIFF, MP3, MIDI
VOB
SWF,CDA µî
----------------------------------------------

3. System ¿ä±¸»çÇ×
----------------------------------------------
Windows Media Asset Xtra
Windows Media system framework (DirectX 8.1 ÀÌ»ó)
Media¿¡ »ç¿ëµÈ CodecÀÌ End User System ¿¡ ÀνºÅç
Windows 98, 2000, Xp only. ¸Æ¿¡¼± Áö¿ø¾ÈµË´Ï´Ù.
Shockwave ¿¡¼­´Â IE 4.01 ÀÌ»ó, Netscape 6.1 ÀÌ»ó
----------------------------------------------

4. »ç¿ë ¸µ°í ¸í·É¾î ¹× ½ºÅ©¸³Æ®...
----------------------------------------------

directX version Check

put _system.environmentPropList.directXversion


Play
sprite("video").play()

PlayFromToTime (sprite method)
ÀÌ keyword ´Â ¿©±â¼­ »ç¿ëÇÏÁö ¾Ê½À´Ï´Ù. Play method¸¦ »ç¿ëÇÕ´Ï´Ù.
play(starttime, endtime) ÀÌ·¸°Ô Çϸé, starttime ºÎÅÍ endtime ±îÁö°¡
loop µÇ¾î play µË´Ï´Ù.
Play(3000, 9000) Çϸé 3ÃÊ~9ÃÊ°£ ÀÔ´Ï´Ù.

Pause
sprite("video").pause()

Stop
sprite("video").stop()

Rewind
currentTime ÀÌ 0 À¸·Î µË´Ï´Ù. Play Áß¿¡ Àû¿ëÇϸé,
Stop µÇÁö´Â ¾Ê°í, 0À¸·Î µÇ¾ú´Ù°¡ ´Ù½Ã play µË´Ï´Ù.
sprite("video").rewind()

PlayRate
ÀÌ Property ´Â Read-Only ÀÔ´Ï´Ù. ´Ù¸¥  Media type ¿¡¼­´Â movieRate ¸¦
»ç¿ëÇÏ¸é µÇÁö¸¸, windows media members¿¡¼­´Â »ç¿ëºÒ°¡´É ÀÔ´Ï´Ù.
°ªÀÌ Ç×»ó 1¸¸ return µÇ´Âµ¥, »ç¿ëÇÒÀÏÀÌ ¾øÀ»°Í °°Àºµ¥ ¿Ö ÀÖÀ»±î¿ä? ^^;
myPlayRate = member("wmp").playRate

currentTime
CurrentTime Property ´Â Milliseconds ÀÔ´Ï´Ù.
-- set currentTime to 4 seconds
sprite("video").currentTime = 4000
¶Ç´Â
-- read currentTime
myVideoTime = sprite("video").currentTime

Duration
ÀÌ Property ´Â read-only ÀÔ´Ï´Ù. MediaÀÇ total timeÀ» milliseconds ·Î
Return ÇÕ´Ï´Ù.
myDuration = sprite("video").duration

MediaStatus
ÀÌ Property µµ read-only ÀÔ´Ï´Ù.
myState = sprite(1).mediaStatus
return °ªÀº -- #playing #paused #stopped µî ÀÔ´Ï´Ù.

directToStage
Windows Media sprites ´Â Àû¿ë ¾ÈµË´Ï´Ù. Ç×»ó Direct To Stage »óÅÂÀÔ´Ï´Ù.
directToStage = True

´Ù¸¥ Keywords
Audio, loop, pausedAtStart, video, volume, height, width µî
----------------------------------------------
 

 

ÄÚ¸àÆ®ÀÔ·Â
   

 
   

»çÀÌÆ®¼Ò°³    |   ÀÌ¿ë¾à°ü    |   °³ÀÎÁ¤º¸º¸È£Á¤Ã¥    |   À̸ÞÀϹ«´Ü¼öÁý°ÅºÎ   

ºÎ»ê½Ã Áø±¸ ´ç°¨2µ¿ ½Å°¡¾ß º®»êºí·ç¹Ö
TEL : 051-896-0000| FAX : 000-000-0000 | E-mail : nunbuse@hanmail.***