Roman, Don't use idle. There are a number of postings earlier on this subject. In fact the one below is from Scott Raney, the creator of the MetaCard engine:
http://lists.runrev.com/pipermail/use-revolution/2002-February/002304.html > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Roman > Opendak > Sent: Thursday, December 04, 2003 11:57 AM > To: How to use Revolution > Subject: Re: Drag n Drop Objects in Flash vs. Rev > > > > Is there a way to simulate: > > > > Repeat until the mouseClick > > > > without monopolizing the CPU? > > > > This repeat loop is useful when you want the user to be able to click > > the mouse to stop or interrupt screen activity. > > > > Jim > > > here's a script that takes up 50 % of the cpu time... heh, heh > it goes in the cd script > > on opencard > global counter > put 0 into counter > end opencard > > on idle > global counter > add 1 to counter > if counter >= 2 then > put 0 into counter > repeat with i = 1 to number of cd btns > set the loc of cd btn i to random(height of this cd), > random(width of > this cd) > end repeat > end if > end idle > > its not exaclty game speed but its great for making things blink! > > _______________________________________________ > use-revolution mailing list > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
