on 11/22/02 7:47 AM, Dar Scott at [EMAIL PROTECTED] wrote: > On Friday, November 22, 2002, at 02:20 AM, Jan Schenkel wrote: > >> First of all, let's redo the repeat loop and make it a >> 'send' loop. > > I recommend Jan's approach. > > And would add this. > > If doSlideThing is called from a button mouseUp, you need a way to keep > from starting a second slide show running on top of and interfering with > the first. It can also keep the first from being able to be stopped. > > The simplest way might be this: > > on startSlideThing > endSlideThing > doSlideThing > end startSlideThing > > ...and don't call doSlideThing from anywhere else.
Thanks, Jan and Dar, for your suggestions. I will try out the send technique, as it sounds like it is a more efficient routine I need to become familiar with. I misspoke about the "slide show." What is going on is "like" a slide show, in that a series of words supplied from a variable are displayed in a field. These lists are called from buttons that the user clicks to activate. (Two sets of them could not run at once, since there is only one global variable supplying the words, and it is filled with a new set of words on each mouseUp handler.) These words are then put, one at a time, into the same field for display. So, the behavior I want is for a set of words to be displaying indefinitely at user defined intervals, and then upon receiving a mouseclick on a different button, for the different list to begin displaying immmediately, without need of an intermediate click to stop the first handler from executing. Thanks, Mark _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
