How to make a button have sound

see my post above which suggests this.

see

    fileList1[indexList1].play();  // !!!!!!!!!!!!!!!!!!!!!!!!!!!
     
    indexList1++; 
    if(indexList1>2)
       indexList1 = 0;