OKIEWARDOYO

Coba As3 Tombol Audio

Mar 31st, 2012
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var channel_ku:SoundChannel;
  2. var sound_ku:Sound = new Sound(new URLRequest(“Kuku.mp3″));
  3. button_mas_okie.addEventListener(MouseEvent.CLICK, play_ku);
  4. function play_ku(event:MouseEvent):void{
  5.      channel_ku = sound_ku.play();
  6. }
Advertisement
Add Comment
Please, Sign In to add comment