> How do I get the timer do display seconds and minutes?
1) click http://www.mediamacros.com
2) click LINGO, then click BEHAVIORS
3) search BEHAVIOR NAME : STOPWATCH TIMER
4) click VIEW
5) copy and paste that behavior into a new script on your machine
6) change the exitFrame handler to read:
on exitFrame me
if fTicking then
tix = ( the milliSeconds - kStartTime ) / 1000
if tix <> iLastTime then
mSetCounter me, mGetStopWatchTime ( me, tix )
iLastTime = tix
--< MODIFY >
if iLastTime >= 1500 then -- 25 minutes has elapsed
beep
mStopCounting me
end
--</ MODIFY >
end if
end if
end
7) drag the behavior onto a field sprite
8) run your program.
Hope this helps,
Rob
/*********************************
* Rob Wingate, Software Human *
* http://www.vingage.com *
* mailto:[EMAIL PROTECTED] *
*********************************/
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]