Post 1 made on Sunday February 22, 2009 at 08:39 |
Aarestrups Long Time Member |
Joined: Posts: | January 2009 37 |
|
|
Hi all, I have this little script running on a page:
var blink = widget("Michrophone"); var i1 = 2; blink.visible = true; Activity.scheduleAfter(1000,UpdateTimer1); function UpdateTimer1(id) { i1--; if (i1>0) { Activity.scheduleAfter(1000,UpdateTimer1); blink.visible = false; } else { blink.visible = true; } }
The idea is to have the Widget "Microphone" to flash… Now this script only do as follow: show - not show – show… and then it stops. How can I make it continue to flash for some X seconds?
\Allan
|
|
me, |
|