View Full Version : Sound
im_a_gangster69
05-14-2002, 07:00 PM
How to make a button play a sound in coding.... ive tried lots of times but i have no clue how to... pleeaasseee heelllpppp!!!
thanx
Billy T
05-14-2002, 08:29 PM
on the first frame of the movie put
_root.mySound = new Sound();
_root.mySound.attachSound("linkageName");
and then on your button put
on (release) {
_root.mySound.start();
}
cheers
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.