Hello,

I tried to convert a different wav file into swf, and replaced the existing sound.swf with the one I created. The result however, was no sound at all being issued. Could you give me a hint as to what I did wrong, or how I could properly replace the sound?

Thank you.

Best regards,
Ao

CommentFileSizeAuthor
#4 Drupalchat2.PNG15.63 KBVBN
#4 Drupalchat1.PNG16.4 KBVBN
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

darklrd’s picture

How did you convert? Which software did you use? Thanks.

Aonoa’s picture

I used swftools from here: link

It has a command line utility called "wav2swf.exe".

Best regards,
Ao

akrywko’s picture

Issue summary: View changes

Old but still open and relevant.
What options for wav2swf should I use?

I tried -E / -S / - l 0 / -d - l 1 and many many others combination.
Result is no sound at all, one sound during page load and then silence or sound in constant loop. Oryginal sound.swf works correct but is useless for me - to silent.

Please advise.
Maybe add alternative (louder) sound to package? :)

VBN’s picture

FileSize
16.4 KB
15.63 KB

It's not that easy akrywko.

Here is the how to:

First of all make a backup of the following files:
sites/all/modules/drupalchat/swf/sound.fla
sites/all/modules/drupalchat/swf/sound.swf

Download Adobe Flash Pro , it's fully functional for 30 days.

Convert the sound you like to a .wav file (i called mine beep2.wav) and upload it in the wav folder sites/all/modules/drupalchat/wav
(I think it's possible to have a mp3, but i did not test it.)

Now open the sound.fla in Flash Pro.
You will see that this is a flash/movie with only 1 frame.
Click in the right-upper corner on Library.
Double click on the sound icon

1

A new window will open and click on import to replace the current "nok" sound
Select your sound and test.

2

Click ok, ignore the warning if there is one.
File/safe as... sound.fla
File/Export as movie sound.swf

Done!

Replace the files on the server with your files and chat away. :)