How do I generate random numbers and match it to a button click?
<p>I have a UI with 9 image buttons with images of numbers from 1 to 9..I have a button listen which on click should play mp3 files (of number between 1 to 9) randomly on each click.I should have 5 such random mp3 files playing when i click the listen button 5 times.Problem is "i have to match the randomly generated mp3 files with the image button containing the image of correct number how do i do this...because only randomly generated are the mp3 files while the image buttons are not randomly shuffled...there remain static in their position....please help me...</p>
