Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamically loaded sounds

Status
Not open for further replies.

AtomicChip

Programmer
May 15, 2001
622
CA
Am I missing something really stupid here?? All I'm trying to do is load a sound into a var (non-streaming) and then play it.

This is what I have:

var s = new Sound();
s.loadSound("click.mp3");
s.start(0,1);

But it's not working! No sound is played, but the object does exist...

Help?

-----------------------------------------------
"The night sky over the planet Krikkit is the least interesting sight in the entire universe."
-Hitch Hiker's Guide To The Galaxy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top