If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Noob Help, easy question

All i want to do is when i click an image i want a sound to play. Ive been looking all over trying everything on the internet and I literally cannot get anything to work i have no idea why. Ive uploaded my sounds and images to my server and ive used the correct directory. Can someone please give me a "for dummies" code and explanation to get this working. (P.S, I have advanced computer skills and ive taken programming in high school i have no idea why im struggling so hard)

It depends how you want the audio on your webpage (assuming this is for a website)
the most up to date way (not compatible with legacy browsers) is to use an HTML5 audio tag, a good tutorial can be found here http://www.w3schools.com/tags/tag_audio.asp
after including that somwhere in your could and rigging with a "display:hidden;" css attribute and not to start playing when its loading you can bind an event listening to the image: <img onclick="javascriptfunction()" />
in the function you can play the audio using html5 media controls, I'm sorry I'd post a code but it's almost time for my next high school class :P
I'll leave you with this to help you though

ok thanks this helps but so far i have the player and the sound. I want the player invisible i tried inserting that display hidden but it didnt work. and then i want it to play when an image is clicked

ok thanks this helps but so far i have the player and the sound. I want the player invisible i tried inserting that display hidden but it didnt work. and then i want it to play when an image is clicked