0

a question about javascript.

I have found out how to get a random picture every time you push a button (without refreshing the page). Is it at all possible to do that with
soundfiles, (and how)? I have tried i feel like everything but i can't get it to work.
Any help about this will be much appriciated.

Tim

3
Contributors
8
Replies
9
Views
11 Years
Discussion Span
Last Post by grunge man
0

Wouldn't you use basically the same code, except calling the sound files instead of images?

Bear in mind that sound files take much longer to download, so the transition won't be immediate.

0

hmm, have tried that, but can't get it to work. Do you preload sounds/midifiles the way you do it with images, or how would you write that?

0

well, the midifiles i wan't to preload are about 4 k each. Can it be done, and how?

Thanks

0

ok, found out. The problem it seemed was to get them to play. With embeds its written one way in IE, and another in Safari (which i'm using). Thanks for the help though.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.