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

#1 2008-03-20 19:02:30

SkeptiCat
Scratcher
Registered: 2008-03-12
Posts: 1

Can you prevent embedded Java from automatically starting?

I wanted to embed more than one java scratch project on my blog, but when you open the page they all start at once automatically, playing sound over one another and so forth.  Can I embed them, but not have the program actually start unless somebody clicks the green arrow? 
Thanks - SkeptiCat

Offline

 

#2 2008-03-20 20:52:38

EdnaC
Scratcher
Registered: 2007-08-28
Posts: 100+

Re: Can you prevent embedded Java from automatically starting?

You could build your projects so that clicking the Green Flag doesn't "start" them.  Use the Flag to initialize everything, but don't actually start until the user presses "space" or some other key, or pushes a "button" (sprite).

Offline

 

Board footer