: A "simple" slideshow

Quantumshop info at quantumshop.com
Thu Aug 15 03:41:01 EDT 2002



This is just a simple guess, but your "wait" command is probably stopping
you from doing anything.  I would make a (hidden) button that goes to the
next card, then use a "send" command in your card script.  Then, if you want
to stop that from happening you can stop any pending commands (just look up
"send" in the transcript dictionary for that stuff) and interrupt the
process.

Hope that helps!

Mark


==card==
on openCard
send "mouseup" to button "takemetothenextcard" in 2 seconds
end openCard

==hidden button==
on mouseup
visual dissolve
go cd "slide004"
end mouseup


----- Original Message ----- 
From: "Aurélien Durand" <aureliendurand at mac.com>
To: <use-revolution at lists.runrev.com>
Sent: Wednesday, August 14, 2002 1:00 PM
Subject: A "simple" slideshow


> Hello everybody and thanks for all those usefull advices you provide
> everyday!:)
> 
> Actually i'm making a very simple slideshow with about 30 cards. Its script
> is divided into those 30 cards in order to avoid the script limitation.
> for example, this script in each card:
> 
> on openCard
> wait for 2 seconds
> visual dissolve
> go cd "slide004"
> end openCard
> 
> (very very very simple isn't it?)
> 
> The problem is that i'd like to be able to stop the slideshow at anytime by
> siply cliking on the screen and it doesn't work. Indeed, the script of each
> card doesn't allow any interruption (a mouseUp on the image for example).
> How could i make it possible? Would a "if" & "then" script work, and which
> one?
> Thanks by advance,
> Best regards
> 
> A. Durand
> 
> (Bonjour spécial à toute la communauté francophone:)
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.runrev.com/pipermail/use-livecode/attachments/20020815/611f7c7f/attachment.html>


More information about the Use-livecode mailing list