My app is playing only cat sound when I click on the other animals

I have a memory game of animals when I press the button, the animal shows up and the corresponding sound should play. However, I am only getting cat sound being played irrespective of the button that I press. Kindly open my eyes to the bug and help me debug... Thanks in advance... file is attached
MemoryGameSound (1).aia (4.2 MB)

There may be other ways to do it on.

MemoryGameSound2.aia (4.2 MB)

your problem is here


global b_num is a number but global animals are a list and a list cannot be compared with a number well you can use @Boban's way to complete your app, its better!

Thank you. Wonderful!

I got it.. Thanks

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.