Need help understanding Audio

I want a sound to play when you click on an image. For example, when someone clicks an image which has a gun icon, a sound of a shooting lazer (which is 2 seconds long and is a mp3 file named shoot.mp3) will be played. I have read all the Audio guides and I still do not understand. Can someone give me an example on how would this example look like in code.

Also what is the best audio file format(mp3,wav,etc) which can be used for both android and ios platforms.

Thanks in advance.

There is sample code here - https://docs.coronalabs.com/api/library/audio/play.html

mp3 is best as it works on all platforms.

There is sample code here - https://docs.coronalabs.com/api/library/audio/play.html

mp3 is best as it works on all platforms.