Copy link to clipboard
Copied
I'm making an interactive media application. but when I make a voice button, the 'stop' command cannot be executed.
This is the code I made:
But when I click the button, the sound won't stop.
Can anybody tell me what's wrong and help me fix this error?
to start, that's a problematic coding style. all your significant code ( all code except for stops, plays and goto's) should be on the main timeline (or class files) or your code quickly becomes difficult to understand, update and debug.
you're already facing that problem now. and if you have code on timelines other than symbol2, there's no reason for anyone to invest their time trying to help with the code you showed because a key part of the problem could be on other timelines.
can you move al
...Copy link to clipboard
Copied
to start, that's a problematic coding style. all your significant code ( all code except for stops, plays and goto's) should be on the main timeline (or class files) or your code quickly becomes difficult to understand, update and debug.
you're already facing that problem now. and if you have code on timelines other than symbol2, there's no reason for anyone to invest their time trying to help with the code you showed because a key part of the problem could be on other timelines.
can you move all your significant code to the main timeline?
is there any code on timelines other than the 2 timelines you showed?
Copy link to clipboard
Copied