Computer Science Canada Loop Exit Help... |
Author: | Leftover [ Thu Jan 13, 2005 7:08 pm ] | ||||
Post subject: | Loop Exit Help... | ||||
Well, here I am again ![]() ![]() What I know how to do: Exit a loop by pressing a key and hitting enter, Ex.
which will essentially end the loop when I type in victory is mine... Only problem, it's not exactily what I want it to do, and for me (I'm using it for playing intro theme song for my final) it doesn't stop the music, it waits for it to finish then stops. What I want to do: Be able to exit the loop and stop the song wherever it is once a menu object is selected with the keyboard and "Enter" is pressed to advance on to the next menu, Ex.
(( Or something like that, I don't know the keydown commands much yet but I'm sure I'll be learning soon )) If I am attacking this wrong (by using loops or whatever) feel free to shoot me down. Any help is aprecieated and will be put too good use ![]() |
Author: | Jonny Tight Lips [ Thu Jan 13, 2005 7:51 pm ] |
Post subject: | |
You need Music.PlayFileStop and/or Music.SoundOff. Look them up in the turing help file then if you need more help come back. |
Author: | Leftover [ Thu Jan 13, 2005 8:24 pm ] |
Post subject: | |
Okay I got that far ![]() |
Author: | Leftover [ Thu Jan 13, 2005 9:11 pm ] | ||
Post subject: | |||
Okay I got it from there, thanks Jonny. I used:
|