Hello! I am working on a presentation project created in Flash MX and will be put onto CD. I have a section in the presentation where I would like to put in music samples for the end user to listen to, however I don’t know how to attach the mp3 files as just files for download. I’ve considered putting the mp3s into the presentation and creating buttons to control the music, but I figured it’d be easier to just put the files on as downloadable songs. Kinda like what you get when you preview tracks off of amazon.com. Any suggestions about how to do this or any better ideas for sharing music with end clients is greatly appreciated!
hai,
I am prathap,
I din’t got your question properly, but what ever I understood from that I will try to answer.
Import audio to flash and right click your mouse and give linkage.
on the main time line use attachSound command.
Or if you want to call from outside, use getURL.
Thanks for all the help guys! Through peer discussions, I decided to go with a start and stop buttons for individual songs. I ended up using the tutorial for sound stuff on flashkit.com and my code for starting the sound is taken right from the site - which is…
on (release) {
if (playing!=true) {
_root.firstSound.start();
playing=true;
}
}
Now, when the song is done, I can’t get it to start playing again pressing my start button. Nor will it play again if I press my stop button and then press my start button again. The code I have for my stop button is…
on (release) {
_root.firstSound.stop(“firstSound01”);
playing=false;
}