ActionScript.org Forums
>
General
>
Gaming and Game Development
> [AS3] Sound
PDA
View Full Version :
[AS3] Sound
Zend
02-17-2009, 02:37 PM
How would I make a certain sound play when something happens?
EX: An eating sound when I pick up an object.
bluemagica
02-17-2009, 03:54 PM
sound.play()
EightySeven
02-17-2009, 05:15 PM
import sound to library right click it export for actionscript
var sound:my_new_sound = new my_new_sound();
sound.play(1);
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.