# This code seems to be not working?

**URL:** <https://forum.kirupa.com/t/this-code-seems-to-be-not-working/123284>\
**Category:** Uncategorized\
**Created:** [September 22, 2004, 7:41am UTC](https://forum.kirupa.com/t/this-code-seems-to-be-not-working/123284 "2004-09-22T07:41:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tanvi](https://avatars.discourse-cdn.com/v4/letter/t/9de053/32.png) [@tanvi](https://forum.kirupa.com/u/tanvi)\
**Post date:** [September 22, 2004, 7:41am UTC](https://forum.kirupa.com/t/this-code-seems-to-be-not-working/123284/1 "2004-09-22T07:41:06Z")

</div>

[color=navy]on (press) {  
\_root.mySlider.mySound.stop();  
if (\_root.mySlider.mySound.stop()) {  
\_root.dl = “Sound is Stopped…”;  
} else {  
\_root.dl = “playing”;  
}  
}  
[/color]  
[color=black]this is on the stop\_btn to stop music on playing and also show the text “Sound is Stopped” and as soon as the user click on play button the text is “playing”[/color]  
[color=black][/color]  
[color=black]but this code seems to be not working?[/color]  
[color=black][/color]  
[color=black]wats wrong with it?[/color]  
[color=black][/color]  
[color=black]help me[/color]
