Search found 7 matches
- Wed Aug 26, 2020 7:25 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Finite looping of audio
- Replies: 5
- Views: 3228
Re: Finite looping of audio
Thanks jiml, I think I'll go with that solution! If I'm nitty picking it may not end the sound after a complete loop, so sound may appear to be abruptly cut of. But since we already established the user isn't around to hear it so... And it is a really neat fix, only a single line of code, really lik...
- Tue Aug 25, 2020 6:12 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Finite looping of audio
- Replies: 5
- Views: 3228
Re: Finite looping of audio
Thanks richmond62, but I'm not quite following where I incorporate my "answer" statement in that loop. If you look at the code in my first post it's not just sound, I also have a popup displayed while the sound is looping, and when the popup is acknowledged by user it also ends the sound. This funct...
- Tue Aug 25, 2020 6:02 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: GUI on diffrent tabs
- Replies: 6
- Views: 3697
Re: GUI on diffrent tabs
Thanks Craig, you nailed it! This got everything working as intended!
Two out of two for my questions in this thread, I'd call that a perfect score!
Two out of two for my questions in this thread, I'd call that a perfect score!

- Mon Aug 24, 2020 9:13 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Finite looping of audio
- Replies: 5
- Views: 3228
Finite looping of audio
I have a timer functionality, and once the timer runs out I inform the user by displaying a popup and playing a sound. I found the convenient parameter "looping" to have the sound continue until the user have acknowledged the popup. play audioClip "Beep[dot]wav" looping answer "Timer ended!" with "O...
- Mon Aug 24, 2020 8:43 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: GUI on diffrent tabs
- Replies: 6
- Views: 3697
Re: GUI on diffrent tabs
Thanks Craig, I got a grip of the variables handling now I think. But I still have the issue of the routines in the stack can not access the controls if I'm in another tab/Card. I have for example this code in the stack, where optionHide is a Switch Button, and timeLeftDisplay is a Label Field on di...
- Sun Aug 23, 2020 8:41 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: GUI on diffrent tabs
- Replies: 6
- Views: 3697
Re: GUI on diffrent tabs
Thanks Klaus! That solved the problem of the unreadable global variable! So half of the problem fixed! Live Code is a bit different language, mostly to the better, it is more simple to use and easy to learn, but still, anything that's different from what you're used to cause headache sometimes. And,...
- Sun Aug 23, 2020 7:08 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: GUI on diffrent tabs
- Replies: 6
- Views: 3697
GUI on diffrent tabs
I have created my first LiveCode project, and I based it on an idea of separating the GUI in different tabs, inspired by this tutorial: lessons[dot]livecode[dot com]/m/4071/l/7574-using-tab-buttons I have now completed the contents of tab 1, there I have a number of user controls in the form of butt...