How do I add music to my flash cartoon?

I am new to Flash MX, and am currently making a cartoon. I need help adding music to my cartoon, as well as sound effects. Any help would be highly appreciated. Thanks!

Hi Welcome :slight_smile:

This will get you started:
http://kennybellew.com/tutorial/

Also search the forums for additional examples, etc.

Thanks for the site, but (correct me if I’m wrong), the part for loading music deals with buttons for playing and stopping. I just need to know how to load an mp3 throughout my entire cartoon. (It’s used as background music for my cartoon). Thanks

Well he does explain how to do what you need but it is a big article so I can see where the confusion might have set in.

Your best bet is to externally load the mp3. You have the choice to either stream or make the user download it before playing.


mySound = new Sound();
mySound.loadSound.("http://urltomp3.com/yourSound.mp3", true); //true is to stream, make this value false if you want

Hope that helps :slight_smile:

Thanks for your help!
Now I just have one more question, do you guys know of any free site where I can upload my cartoon to?

The only one that I used was http://www.brinkster.com

Well, I found a site http://www.psend.com to upload my .swf file, but for some reason it doesnt work for anyone, and it wont play on the web browser. Instead, it says they have to download the file. When I gave my file to my friend to upload, he managed to upload it with the final link “.htm” Does anyone know how to do this? Thanks again

You need to publish your flash file. An easy way to do it is by going to

File >> Publish.

Flash creates an HTML file with your ,swf inserted. You could btw also use notepad to handcode it yourself, or my personal favorite Dreamweaver.

But be carefull, a lot of free hosting site’s don’t let you upload mp3’s.

Yeah, that was it, I forgot to publish it. Thanks though, you’ve been a huge help to me. I really appreciate it. =)

No problem at all :slight_smile: