Pure L
03-14-2007, 12:19 AM
Ugh.
My first post, and I already messed things up. (I didn't put a proper title in):(
Please ignore my post titled "url" (For some reason I don't see it. I could be just plain blind though).
I'm a newbie and I apologize for seeming so green.
Anyway, I'm trying to make a web page using Visual Web Developer 2005 (express edition).
In this page, I'm trying to create a .wav player. All of the code is listed here (http://blogs.msdn.com/coding4fun/archive/2007/01/24/1525816.aspx).
In this code, there are 4 places where the author has typed "(url)". My question is this: What do I--specifically--enter where this "(url)" has been written. I'm assuming that's where I put the url to the sound I want to be played.
Right now that sound is located here: sounds/tada.wav
Do I enter "sounds/tada.wav" in all instances of the author's mention of "(url)" in the code listed on the aforementioned page?
For example, the 4 spots in the code that call this "(url)" are here:
1) playSound = function(url)
2) snd.src = url;
3) playSound = function(url)
4) obj.data = url;
I hope this makes sense. Thanks.
My first post, and I already messed things up. (I didn't put a proper title in):(
Please ignore my post titled "url" (For some reason I don't see it. I could be just plain blind though).
I'm a newbie and I apologize for seeming so green.
Anyway, I'm trying to make a web page using Visual Web Developer 2005 (express edition).
In this page, I'm trying to create a .wav player. All of the code is listed here (http://blogs.msdn.com/coding4fun/archive/2007/01/24/1525816.aspx).
In this code, there are 4 places where the author has typed "(url)". My question is this: What do I--specifically--enter where this "(url)" has been written. I'm assuming that's where I put the url to the sound I want to be played.
Right now that sound is located here: sounds/tada.wav
Do I enter "sounds/tada.wav" in all instances of the author's mention of "(url)" in the code listed on the aforementioned page?
For example, the 4 spots in the code that call this "(url)" are here:
1) playSound = function(url)
2) snd.src = url;
3) playSound = function(url)
4) obj.data = url;
I hope this makes sense. Thanks.