re: create a slideshow?

Clark Parsons ((no email))
Mon, 11 Oct 93 8:34:31 MDT

10/11/93

Hello Frank,

I think the openCard handler locks the screen while it execute its script,
that is why you can't see the card. You need some kind of indirect
control to accomplish your slide show. You need a control that is not part
of the object being controlled, in this case, the card.

One way to achieve this effect is to create a background button that is
shared by all cards. Yes, the button shows up on all cards. On this
button you put the following handler:

on mouseUp
repeat with i = 1 to the number of cards in this stack
go next card
wait five seconds
end repeat
end mouseUp

Or you could make it possible to alternately stop and continue the
slide show by adjusting the button handler as follows:

on mouseUp
repeat until the mouse is down
if the number of this card < the number of cards in this stack then
go next card
wait five seconds
else
exit mouseUp
end if
end repeat
end mouseUp

Unfortunately, you must hold the mouse down on the button until the 5
second wait period is finished to stop the slide show, but it does work.

--
Sincerely,

Clark Parsons, MS 11 Learning Products Engineer OSSD : ULP - Fort Collins, 1UL7 clarkp@fc.hp.com 1-229-3323