# When you press image 1, you read image 1, but when you press image 2, you still read image 1. Please help fix the error

**URL:** https://community.thunkable.com/t/when-you-press-image-1-you-read-image-1-but-when-you-press-image-2-you-still-read-image-1-please-help-fix-the-error/2940299
**Category:** Questions about Thunkable X
**Tags:** beginner
**Created:** [April 11, 2024, 2:34am UTC](https://community.thunkable.com/t/when-you-press-image-1-you-read-image-1-but-when-you-press-image-2-you-still-read-image-1-please-help-fix-the-error/2940299 "2024-04-11T02:34:22Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![blogbinhgoal217tia](https://avatars.discourse-cdn.com/v4/letter/b/e9bcb4/32.png) [@blogbinhgoal217tia](https://community.thunkable.com/u/blogbinhgoal217tia)
#### Post date: [April 11, 2024, 2:34am UTC](https://community.thunkable.com/t/when-you-press-image-1-you-read-image-1-but-when-you-press-image-2-you-still-read-image-1-please-help-fix-the-error/2940299/1 "2024-04-11T02:34:22Z")

</div>

When you press image 1, you read image 1, but when you press image 2, you still read image 1. Please help fix the error.

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [April 11, 2024, 3:18am UTC](https://community.thunkable.com/t/when-you-press-image-1-you-read-image-1-but-when-you-press-image-2-you-still-read-image-1-please-help-fix-the-error/2940299/2 "2024-04-11T03:18:02Z")

</div>

There’s not enough information here for anyone to help you.

Please review this: [How to ask Great Questions v2.0](https://community.thunkable.com/t/how-to-ask-great-questions-v2-0/2689983/1)

---

<div class="post-metadata">

### Author: ![blogbinhgoal217tia](https://avatars.discourse-cdn.com/v4/letter/b/e9bcb4/32.png) [@blogbinhgoal217tia](https://community.thunkable.com/u/blogbinhgoal217tia)
#### Post date: [April 11, 2024, 3:54am UTC](https://community.thunkable.com/t/when-you-press-image-1-you-read-image-1-but-when-you-press-image-2-you-still-read-image-1-please-help-fix-the-error/2940299/3 "2024-04-11T03:54:09Z")

</div>

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/c/3cd41a6afd1b73cca92bf5c851882535231e71fe.png)

Is there a way to compact the code without randomly pressing the button

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [April 11, 2024, 4:21am UTC](https://community.thunkable.com/t/when-you-press-image-1-you-read-image-1-but-when-you-press-image-2-you-still-read-image-1-please-help-fix-the-error/2940299/4 "2024-04-11T04:21:17Z")

</div>

I don’t understand how that screenshot relates to your question about images (those are buttons and sounds) and I don’t understand your question about compacting the code. Again, you need to provide more explanation, more details, more examples.

---

<div class="post-metadata">

### Author: ![blogbinhgoal217tia](https://avatars.discourse-cdn.com/v4/letter/b/e9bcb4/32.png) [@blogbinhgoal217tia](https://community.thunkable.com/u/blogbinhgoal217tia)
#### Post date: [April 11, 2024, 5:35am UTC](https://community.thunkable.com/t/when-you-press-image-1-you-read-image-1-but-when-you-press-image-2-you-still-read-image-1-please-help-fix-the-error/2940299/5 "2024-04-11T05:35:25Z")

</div>

> [@tatiang](#):
>
> Tôi không hiểu ảnh chụp màn hình đó liên quan như thế nào đến câu hỏi của bạn về hình ảnh (đó là các nút và âm thanh) và tôi không hiểu câu hỏi của bạn về việc nén mã. Một lần nữa, bạn cần cung cấp thêm lời giải thích, nhiều chi tiết hơn, nhiều ví dụ hơn.

The above command buttons I have set up like that when running a test, click on other buttons, read the same original text  
For example, pressing button 1, the sound is 1, pressing button two sounds 2, but when pressing button 1 again, sound 2, not sound 1

---

<div class="post-metadata">

### Author: ![tiny\_apps](https://avatars.discourse-cdn.com/v4/letter/t/3d9bf3/32.png) [@tiny\_apps](https://community.thunkable.com/u/tiny_apps)
#### Post date: [April 11, 2024, 1:14pm UTC](https://community.thunkable.com/t/when-you-press-image-1-you-read-image-1-but-when-you-press-image-2-you-still-read-image-1-please-help-fix-the-error/2940299/6 "2024-04-11T13:14:56Z")

</div>

You are not doing anything wrong there is a bug in the sound component

1. It will Play only the latest file
2. It will stop after certain clicks

---

<div class="post-metadata">

### Author: ![blogbinhgoal217tia](https://avatars.discourse-cdn.com/v4/letter/b/e9bcb4/32.png) [@blogbinhgoal217tia](https://community.thunkable.com/u/blogbinhgoal217tia)
#### Post date: [April 12, 2024, 4:09am UTC](https://community.thunkable.com/t/when-you-press-image-1-you-read-image-1-but-when-you-press-image-2-you-still-read-image-1-please-help-fix-the-error/2940299/7 "2024-04-12T04:09:11Z")

</div>

> [@tiny\_apps](#):
>
> Nó sẽ chỉ phát tệp mới nhất

Please fix it code

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)
#### Post date: [July 11, 2024, 4:09am UTC](https://community.thunkable.com/t/when-you-press-image-1-you-read-image-1-but-when-you-press-image-2-you-still-read-image-1-please-help-fix-the-error/2940299/8 "2024-07-11T04:09:23Z")

</div>

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