Flash and sound

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
Peteroid
Posts: 162
Joined: Thu Aug 12, 2010 3:57 am
Location: las vegas, NV
Contact:

Flash and sound

Post by Peteroid »

I have created an animation with a sound track (loaded in at frame 0, and goes the duration of the clip). I exported it to both an AVI and a Flash file. I embed the Flash file in a webpage.

The AVI file plays the sound fine. If I go to the webpage with the Flash version, it animates fine, but I hear no sound.

I don't think this is a bug, I think I need to do something I'm not.

Any help will be appreciated...
[==Peter==]
User avatar
neeters_guy
Posts: 1626
Joined: Mon Sep 14, 2009 7:33 pm
Contact:

Post by neeters_guy »

Try a forum search for "sound swf":

No sound with exported swf
Getting sound in the SWF file
Audio Export in SWF Movie
Flash file does not have sound on web
mo probs with Flash export-sound

If the suggestions in these posts don't solve your problem, try describing your problem in more detail.
User avatar
Peteroid
Posts: 162
Joined: Thu Aug 12, 2010 3:57 am
Location: las vegas, NV
Contact:

Post by Peteroid »

neeters_guy wrote:Try a forum search for "sound swf":

No sound with exported swf
Getting sound in the SWF file
Audio Export in SWF Movie
Flash file does not have sound on web
mo probs with Flash export-sound

If the suggestions in these posts don't solve your problem, try describing your problem in more detail.
Cool, thanks!

I tried a search for 'flash sound' and didn't find anything useful. I guess I just needed to know to look for the Flash file extension instead (didn't think of that).

I'm just saying, because I didn't want you to think I didn't search first... :)
[==Peter==]
User avatar
jahnocli
Posts: 3471
Joined: Fri Oct 29, 2004 2:13 pm
Location: UK

Post by jahnocli »

You need to have an .mp3 version of your soundtrack in the same directory as your .anme file when you export to Flash format. In other words, you can use a .wav file for checking real-time stuff in the program (lip-synching etc.), but to embed sound in the exported .swf file you will need to store a copy of the wav sound in mp3 format.
You can't have everything. Where would you put it?
User avatar
Peteroid
Posts: 162
Joined: Thu Aug 12, 2010 3:57 am
Location: las vegas, NV
Contact:

Post by Peteroid »

jahnocli wrote:You need to have an .mp3 version of your soundtrack in the same directory as your .anme file when you export to Flash format. In other words, you can use a .wav file for checking real-time stuff in the program (lip-synching etc.), but to embed sound in the exported .swf file you will need to store a copy of the wav sound in mp3 format.
Thanks! That is pretty close to what I did to make it work.

The only difference is I found is that, for me, it would only work if I also created the SWF with the same MP3 I store on the web directory.

That is, when I create a Flash file in AS7PRO called 'test.swf' using an audio file called 'test.WAV', then place a converted-to 'test.mp3' in the same directory, it DIDN'T work. Then when I create a Flash file called 'test.swf' using an audio file called 'test.MP3', and placed it in the same directory, it DID work. At least that's the results I got.

It's probably best to start with the MP3, since that's what it's going to sound like anyway! :)
[==Peter==]
Post Reply