View Full Version : Is this possible?

Big Stepper
12-17-2002, 03:00 AM
I'm trying to insert audio in a script. It's the roullete script where an alert comes up bang your dead. I want to make it where you also hear a gunshot, Can anyone help me with this? I keep getting errors when i try to do it. My website is under my profile. The script is on the games page....

function fireit(){
var theone=Math.floor(Math.random()*6)

if (theone<=document.fire.bullets.value-1)
alert("Bang. You\'re dead!")
document.fire.message.value="Whew. Got lucky!"
setTimeout("document.fire.message.value='Play Roulette'",500)


12-17-2002, 03:15 AM
#1) Your first post was 20 minutes ago. You don't need to re-post the same question twice. Give it a day or so, as some of the more brilliant minds will probably read your question during the night.

#2) You might try downloading a trial version of Macromedia Flash MX, and searching for tutorials on Flash in order to make it all work. Flash may very well be the best solution to your problem.

12-17-2002, 04:43 AM
don't use titles like that. read this...