| SWF :: Builder :: Character :: Sound. SWF :: Builder :: Character :: Sound´Â SWF »ç¿îµå ¹®ÀÚÀÔ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
SWF :: Builder :: Character :: Sound. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À̸§:
- Yasuhiro Sasama
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~ysas/SWF-Builder-0.16/lib/SWF/Builder/Character/EditText.pm
SWF :: Builder :: Character :: Sound. ű×
SWF :: Builder :: Character :: Sound. ¼³¸í
SWF :: Builder :: Character :: Sound´Â SWF »ç¿îµå ¹®ÀÚÀÔ´Ï´Ù. SWF :: Builder :: Character :: Sound´Â SWF »ç¿îµå ¹®ÀÚÀÔ´Ï´Ù. Synopsis My $ sound = $ mc-> new_sound ( 'ring.mp3'); $ »ç¿îµå -> Àç»ý;ÀÌ ¸ðµâÀº MP3 ¶Ç´Â ¿ø½Ã Microsoft WAV ÆÄÀÏ¿¡¼ SWF »ç¿îµå ¹®ÀÚ¸¦ ¸¸µì´Ï´Ù. $ sound = $ mc-> new_sound ($ filename) »ç¿îµå ÆÄÀÏÀ»·ÎµåÇÏ°í »õ »ç¿îµå ¹®ÀÚ¸¦ ¹ÝȯÇÕ´Ï´Ù. ±×°ÍÀº ´ÜÁö mp3 ¸¸ Áö¿øÇÕ´Ï´Ù. $ sound-> play () sound.options : movieClip => $ mc, frame => $ frame'moviplip '(MC)Àº »ç¿îµå°¡ÀÖ´Â ºÎ¸ð ¹«ºñ Ŭ¸³ÀÔ´Ï´Ù. ¿¬ÁÖÇß´Ù. MC°¡ ¼³Á¤µÇÁö ¾ÊÀº °æ¿ì »ç¿îµå°¡ Á¤ÀÇ µÈ ¹«ºñ Ŭ¸³¿¡¼ Àç»ýµË´Ï´Ù. 'ÇÁ·¹ÀÓ'Àº »ç¿îµå°¡ Àç»ýµÇ´Â ÇÁ·¹ÀÓ ¹øÈ£ÀÔ´Ï´Ù. Multiple => 0 / 1avoids / ¿©·¯ Àç»ýÀ» Çã¿ëÇÕ´Ï´Ù. 0 ÀÎ °æ¿ì ÀÌ¹Ì Àç»ýÇÒ °æ¿ì ¼Ò¸®¸¦ ½ÃÀÛÇÏÁö ¸¶½Ê½Ã¿À .Loop => $ countsets over.in => $ in_msec, out => $ out_msec'in 'Àº »ç¿îµåÀÇ ½ÃÀÛ ÁöÁ¡°ú'out 'À» ¼³Á¤ÇÕ´Ï´Ù. milliseconds.envelope => »ç¿îµå ºÀÅõ¸¦ ¼³Á¤ÇÕ´Ï´Ù. º¼·ý ·¹º§Àº $ MSEC1¿¡¼ $ VolumeLevel1·Î ¼³Á¤µÇ°í $ MSec2¿¡¼ $ VolumeLevel2 ... º¼·ý ·¹º§Àº 0¿¡¼ 32768±îÁöÀÇ ¼ýÀÚ ¶Ç´Â ¿ÞÂÊ ¹× ¿À¸¥ÂÊ Ã¤³ÎÀÇ º¼·ý ·¹º§ ¹è¿¿¡ ´ëÇÑ ÂüÁ¶¸¦ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. $ Sound- > STOP () »ç¿îµå Àç»ýÀ» ÁßÁöÇÕ´Ï´Ù. 'movieClip'¹× 'frame'¿É¼ÇÀ» 'play'¸Þ¼Òµå¿Í µ¿ÀÏÇÏ°Ô »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. $ sound-> start_streaming () µ¿¿µ»ó°ú µ¿±âȵǴ ½ºÆ®¸®¹Ö »ç¿îµå¸¦ ½ÃÀÛÇÕ´Ï´Ù. ŸÀÓ ¶óÀÎ. 'PLAY'¸Þ¼µå¿Í µ¿ÀÏÇÑ 'MovieClip'¹× 'Frame'¿É¼ÇÀ» »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. $ »ç¿îµå -> ´ë±â ½Ã°£ ($ msec)Àº »ç¿îµå ´ë±â ½Ã°£À» ¹Ð¸® ÃÊ ´ÜÀ§·Î ¼³Á¤ÇÕ´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ Perl.
SWF :: Builder :: Character :: Sound. °ü·Ã ¼ÒÇÁÆ®¿þ¾î