Why does sound preclude downloading from a server?
I have developed a series of programs for use by my students. They use a range of platforms and browsers, so I put the programs on a server and they work perfectly except for those that have sound. If I erase the sound code below (or erase the sounds folder) they download, but if I include the sound code then all I get is a blank screen. Also, it works when I publish it on my computer.
Here is the part of the code that seems to be providing the problem:
for (i = 0; 1 <= 60; i++)
{
if (i == 14){var audio1 = createjs.Sound.play("beep");}
if (i == 39){var audio2 = createjs.Sound.play("beep");}
}
The above is part of additional lines of code that draws on the screen. The student clicks the mouse when they hear the sound (beep), which is located in the library as beep.wav (linkage = "beep").
