Creating a flashing effect

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: Creating a flashing effect

Post by bogs » Fri Mar 20, 2020 2:25 pm

Code: Select all

wait random(20)
with messages might actually be a better way to put it :)
Image

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9658
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Creating a flashing effect

Post by dunbarx » Fri Mar 20, 2020 3:21 pm

Bogs.

What would that do for me? There is no user interaction during the process.

This is only a demo of scattering the changes amongst the buttons, and if other stuff was needed then maybe letting LC see the outside world would be a good idea.

Craig

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: Creating a flashing effect

Post by bogs » Fri Mar 20, 2020 3:43 pm

In a case where you are repeating something for x number of times, I think it is pretty handy to know if messages have come or gone is all. There *are* messages other than from user input eh, and some of those might even be important :)
Image

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9658
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Creating a flashing effect

Post by dunbarx » Fri Mar 20, 2020 5:00 pm

Certainly in general the right thing to do.

Again, I was only playing with a random random gadget.

Craig

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: Creating a flashing effect

Post by bogs » Fri Mar 20, 2020 5:53 pm

Certainly that is valid, and mostly I was joshing, but of course if you get a message saying your out of hd space, it might not be so funny :D
Image

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9658
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Creating a flashing effect

Post by dunbarx » Fri Mar 20, 2020 8:27 pm

out of hd space,
I ran out of head space long ago.

Craig

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: Creating a flashing effect

Post by bogs » Fri Mar 20, 2020 8:38 pm

I used to have an open mind....I haven't seen it for a few years now...
Image

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”