reply to discussion |
Results 1 to 5 of 5
- 11-25-2005, 09:17 PM #1
$50,000 CPF$$... i really wanna know how to make a soundboard, and tutorials SUCK.. haha.. they're boring.. if anyone could just write some instructions on how to make a button that when pushed, plays a sound.. i don't need to know anything about cutting/converting audio..
MOD EDIT: MACROMEDIA flash to clarify, not MAC the operating System
› See More: 50k $$CPF to whoever posts instructions to make a soundboard with mac flashLast edited by Robb4248; 11-27-2005 at 05:44 PM.
- 11-27-2005, 05:43 PM #2
make that 100K CPF $$
- 01-25-2006, 09:36 PM #3Junior Member
- Posts
- 18 - liked 1 times
These are pretty easy son. A summary is to use actionscript on a button to attach the sound and also to control it to play upon release:
Given you know how to make a button easily straight to the sound, Say you want, "Do a barrel roll!" to play.
1.Import sound barrelroll.wav to library.
2.Right click, and click on linkage. Check 'Export for Actionscript' and 'Export in First Frame' and give it an identifier name you will remember. I'd most likely give barrel roll, "sound1."
3.Now the fun bit, the actionscript...well fun for whoever thinks so. Highlight the button, for the example wavs, this would go here.
on (press) {barrelroll.wav=new Sound();
barrelroll.wav.attachSound("sound1");
barrelroll.wav.start([0,999])
EXACTLY, like that. Check for errors and there should be none. A breakdown for other wavs.
on (press) {oneimportedtolibrary.wav=new Sound();
oneimportedtolibrary.wav.attachSound("it'snameinlinkage");
oneimportedtolibrary.wav.start([0,999])
Things to know:If it doesn't work, remove .wav and any underscores in the name, the dots and _'s confuse it for being a new command. I had to change vader_onlyknew.wav to this to make it work..and it did.
on (press) {vaderonlyknew=new Sound();
vaderonlyknew.attachSound("sound1");
vaderonlyknew.start([0,999])
}
And the press is obvious of course. Do the same steps, make it look sexy, give it a preloader. Bam. I got the .fla if you need anymore help. May the Force be with you.
Edit:Btw this was all from heart, hopefully this helped make it by heart for you too. *Awaits his 100k* OOH! I feel like a bounty hunter. XD
- 02-18-2006, 01:13 AM #4
hrmm.. sorry it took me so long to reply... are these for flash MX, or 8?? i followed instructions, but got stuck where you said "right click, and click on linkage" i can't figure out where to right click at, i tried everywhere, and i can't find anything that says linkage
- 02-18-2006, 01:21 AM #5
i have flash MX.. i donated you 50k anyways, hopefully no ones steals it, make sure you bank it.. i'll give you the other half, i'll get you the other half and more when i get through the instructions successfully... btw, thanks for posting this
Vente de voitures
in Chit Chat