This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-09-29 16:31:31

sandinat
New Scratcher
Registered: 2012-09-29
Posts: 2

stoping scripts

Im making a slideshow- how do I stop the slideshow from repeating after all of the pictures I want have played? Thank you!

Offline

 

#2 2012-09-29 16:33:56

gfchll
Scratcher
Registered: 2012-04-21
Posts: 100+

Re: stoping scripts

when gf clicked
switch to costume [pic 1 v]
repeat()// how many photos - 1
wait () secs// how long you want them to show
next costume
end
stop all// if you wish

Last edited by gfchll (2012-09-29 16:34:31)


HELLO EVERYBODY!

Offline

 

#3 2012-09-29 16:38:01

MrFlash67
Scratcher
Registered: 2012-08-08
Posts: 500+

Re: stoping scripts

gfchll wrote:

when gf clicked
switch to costume [pic 1 v]
repeat()// how many photos - 1
wait () secs// how long you want them to show
next costume
end
stop all// if you wish

Or you could use

when gf clicked
forever
if <key [space v] pressed?>
next background
end
if < (background #) = (last background)>
stop all
end

Last edited by MrFlash67 (2012-09-29 16:40:21)


Who would win, SOPA or PIPA?

Offline

 

#4 2012-09-29 16:47:33

sandinat
New Scratcher
Registered: 2012-09-29
Posts: 2

Re: stoping scripts

cool thnx!

Offline

 

#5 2012-09-30 16:16:00

maxamillion321
Scratcher
Registered: 2011-06-17
Posts: 500+

Re: stoping scripts

stop script

Offline

 

Board footer