This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.
  • Index
  •  » Advanced Topics
  •  » ITopic: Are there ways to share your creation other than the website?

#276 2011-10-20 11:25:56

Splodgey
Scratcher
Registered: 2011-04-26
Posts: 500+

Re: ITopic: Are there ways to share your creation other than the website?

nick wrote:

Hi!

There's actually a way to share scratch projects on your website or in a folder on a CD or computer without posting them to scratch.mit.edu first. To do it, you need to download the following files to the directory on your website (or a folder on your computer):

1. http://scratch.mit.edu/static/misc/ScratchApplet.jar
2. http://scratch.mit.edu/static/misc/soundbank.gm

(for soundbank.gm, if you're using firefox, right-click and select "Save Link As..." to download)

After copying these to a folder on your computer, put the .sb file in the same folder. Then, create a .htm file with the following contents:

Code:

<html>
<body>
<applet id="ProjectApplet" style="display:block" code="ScratchApplet" codebase="./" archive="ScratchApplet.jar" height="387" width="482">
<param name="project" value="testproject.sb">
</applet>
</body>
</html>

replacing testproject.sb with the name of the project you want to view. This will allow you to either view scratch projects offline (in a folder) or online (on a webserver).

You can view an example of this in action here:
http://web.media.mit.edu/~nbushak/test.html

Additional methods of embedding Scratch projects are detailed here:
http://info.scratch.mit.edu/Publishing_ … r_websites

Also, we release new versions of ScratchApplet.jar occasionally for bug fixes. If you're using this a lot, it may be a good idea to stay updated by periodically downloading new versions of ScratchApplet.jar from the website.

Nick

I tried it, but it said 'error. Click for details. The detail were: There was an error while executing the application. Click "Details" for more information. Can anyone help?

Offline

 

#277 2011-10-23 22:46:38

zackman94
Scratcher
Registered: 2009-06-15
Posts: 61

Re: ITopic: Are there ways to share your creation other than the website?

Hello! I need some help, I want to share a scratch project with some friends, but this project requires turbo mode in the flash player. Seeing as the flash player only works for members (and as they are not) is there any way to embed this WITH the flash player?

*please note* I am not a scripter, so dumbing the process down would help a bit
Also: I am working on a mac, it WOULD be possible to do it on a PC, but it would not be easy for me to do so.
I need a reply by the 29th at the latest, as this game is being released for halloween
I hope to upload this to facebook, but if that is not possible, then googledocs.

Last edited by zackman94 (2011-10-23 23:04:29)

Offline

 

#278 2011-11-28 13:21:17

bannanaman
Scratcher
Registered: 2011-01-15
Posts: 25

Re: ITopic: Are there ways to share your creation other than the website?

[blocks]
<when green flag clicked>
<say[ How do you make a .htm file? I clicked save as on Microsoft Word but in file type optins there is no .htm ? Please help!
[/blocks]


*Want a Minecraft Mod? -Yes *Cant find one of you're liking?-Yes *Well you've come to the right place!  wink -Yay! *Message me on one of my projects(preferably my Minecraft mod project for commenting) where you can apply for me to make one for you!
Hope to see you soon!  smile  *** You could visit my (Under construction) website at http://minecraftmodmakers4u.webs.com/ ***

Offline

 

#279 2011-11-28 13:34:26

bannanaman
Scratcher
Registered: 2011-01-15
Posts: 25

Re: ITopic: Are there ways to share your creation other than the website?

loopylew456 wrote:

Is there anyway I can convert Scratch projects to exe files?

You can change scratch projects into .exe searching the scratch site search bar this:
"scratch to .exe"
Hope this helps!  wink


*Want a Minecraft Mod? -Yes *Cant find one of you're liking?-Yes *Well you've come to the right place!  wink -Yay! *Message me on one of my projects(preferably my Minecraft mod project for commenting) where you can apply for me to make one for you!
Hope to see you soon!  smile  *** You could visit my (Under construction) website at http://minecraftmodmakers4u.webs.com/ ***

Offline

 

#280 2011-11-30 12:59:32

Splodgey
Scratcher
Registered: 2011-04-26
Posts: 500+

Re: ITopic: Are there ways to share your creation other than the website?

loopylew456 wrote:

Is there anyway I can convert Scratch projects to exe files?

Link to "Scratch2Exe: http://chirp.scratchr.org/
Information about it: http://www.chirp.scratchr.org/blog/?page_id=8

Offline

 

#281 2011-12-06 05:17:52

itsus
New Scratcher
Registered: 2011-11-29
Posts: 2

Re: ITopic: Are there ways to share your creation other than the website?

Hi I am having some trouble I've upload all the files but it doesn't work

Offline

 

#282 2011-12-08 16:06:14

Splodgey
Scratcher
Registered: 2011-04-26
Posts: 500+

Re: ITopic: Are there ways to share your creation other than the website?

bannanaman wrote:

[blocks]
<when green flag clicked>
<say[ How do you make a .htm file? I clicked save as on Microsoft Word but in file type optins there is no .htm ? Please help!
[/blocks]

Don't use word use notepad. (start, all programs, accessories, notepad or just type notepad in the search an hit enter - or click run first on windows xp)

Offline

 

#283 2011-12-08 20:37:42

PullJosh
Scratcher
Registered: 2011-08-01
Posts: 500+

Re: ITopic: Are there ways to share your creation other than the website?

If you want to simply get the html for your scratch project, post it online and then hit Embed (above the spot that shows your other projects). Copy and past the code you want into your website or whatever you want it for. The top code is a picture that you can click to go to the project on the Scratch website. The bottom one is for putting the game right in your website (again, you could use the html for something else, but I use it for my website). The only problem with the bottom one is that it only works in some website making things.

My website has the bottom one (the applet) if you want to see it: joshuapullen.com


http://www.blocks.scratchr.org/API.php?action=text&amp;string=I'm_on_vacation!&amp;xpos=155&amp;ypos=90&amp;font_size=30&amp;bgimage=http://imageshack.us/a/img339/7215/sspeechsigapiforwords.png

Offline

 

#284 2011-12-08 20:41:11

PullJosh
Scratcher
Registered: 2011-08-01
Posts: 500+

Re: ITopic: Are there ways to share your creation other than the website?

I just realized that was already posted... never mind.


http://www.blocks.scratchr.org/API.php?action=text&amp;string=I'm_on_vacation!&amp;xpos=155&amp;ypos=90&amp;font_size=30&amp;bgimage=http://imageshack.us/a/img339/7215/sspeechsigapiforwords.png

Offline

 

#285 2011-12-09 05:44:29

Splodgey
Scratcher
Registered: 2011-04-26
Posts: 500+

Re: ITopic: Are there ways to share your creation other than the website?

PullJosh wrote:

If you want to simply get the html for your scratch project, post it online and then hit Embed (above the spot that shows your other projects). Copy and past the code you want into your website or whatever you want it for. The top code is a picture that you can click to go to the project on the Scratch website. The bottom one is for putting the game right in your website (again, you could use the html for something else, but I use it for my website). The only problem with the bottom one is that it only works in some website making things.

My website has the bottom one (the applet) if you want to see it: joshuapullen.com

But if you didn't want it on the scratch website. (maybe you only want certain people to access it) or it's bigger than 10MB then...

Offline

 

#286 2011-12-19 21:01:41

attitudex2
New Scratcher
Registered: 2011-12-01
Posts: 1

Re: ITopic: Are there ways to share your creation other than the website?

There are many reasons not to share a project on the Scratch website.  I have followed the directions given here and have been able to put Scratch projects on my website successfully.  However, I still have the following questions:

1. What can I do to prevent the project from starting automatically?  When my webpage loads, the project starts as if the green flag has been clicked.  This is not the desired behavior.
2. The <applet> tag has been deprecated for a very long time.  How can I put Scratch on my website using the preferred <object> tag?

Thanks for any and all help.

Offline

 

#287 2012-01-13 00:19:58

Venazard
Scratcher
Registered: 2009-12-15
Posts: 100+

Re: ITopic: Are there ways to share your creation other than the website?

When I try it I only get half the applet screen.

EDIT: But that's just when I launch the file from my computer. How do you get the whole folder to a directory with Weebly? And sometimes it won't even load. Gosh, I hate the java player.

Last edited by Venazard (2012-01-13 00:37:29)


http://nitrostudios.weebly.com/uploads/6/8/1/2/6812574/1323469851.png

Offline

 

#288 2012-01-13 07:36:22

JessicaLeo
New Scratcher
Registered: 2012-01-13
Posts: 1

Re: ITopic: Are there ways to share your creation other than the website?

Thanks for the nice presentation..

Offline

 

#289 2012-01-13 10:33:23

ZeroLuck
Scratcher
Registered: 2010-02-23
Posts: 500+

Re: ITopic: Are there ways to share your creation other than the website?

Venazard wrote:

When I try it I only get half the applet screen.

EDIT: But that's just when I launch the file from my computer. How do you get the whole folder to a directory with Weebly? And sometimes it won't even load. Gosh, I hate the java player.

This is not the problem of the Java player!
I think you forgot the width=... and height=...
Don't say anything bad to Java  big_smile

Last edited by ZeroLuck (2012-01-13 10:35:31)


http://3.bp.blogspot.com/-oL2Atzp0Byw/T465vIQ36dI/AAAAAAAAADo/1vqL4PvhkM0/s1600/scratchdachwiki.png

Offline

 

#290 2012-01-13 10:41:27

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: ITopic: Are there ways to share your creation other than the website?

ZeroLuck wrote:

Venazard wrote:

When I try it I only get half the applet screen.

EDIT: But that's just when I launch the file from my computer. How do you get the whole folder to a directory with Weebly? And sometimes it won't even load. Gosh, I hate the java player.

This is not the problem of the Java player!
I think you forgot the width=... and height=...
Don't say anything bad to Java  big_smile

Except when the player is poorly written and runs off unnecessary logo files that just adds laggieness (yes, I made that word up  tongue  .)

Last edited by MathWizz (2012-01-13 10:41:40)


http://block.site90.net/scratch.mit/text.php?size=30&amp;text=%20A%20signature!&amp;color=333333

Offline

 

#291 2012-01-13 14:43:25

rshapiro
New Scratcher
Registered: 2012-01-13
Posts: 3

Re: ITopic: Are there ways to share your creation other than the website?

attitudex2 wrote:

1. What can I do to prevent the project from starting automatically?  When my webpage loads, the project starts as if the green flag has been clicked.  This is not the desired behavior.

Yes, me too. Why do they autorun? Is there any way to disable that? I really can't have the project start before the green flag is clicked.

Offline

 

#292 2012-01-13 15:56:50

Venazard
Scratcher
Registered: 2009-12-15
Posts: 100+

Re: ITopic: Are there ways to share your creation other than the website?

ZeroLuck wrote:

Venazard wrote:

When I try it I only get half the applet screen.

EDIT: But that's just when I launch the file from my computer. How do you get the whole folder to a directory with Weebly? And sometimes it won't even load. Gosh, I hate the java player.

This is not the problem of the Java player!
I think you forgot the width=... and height=...
Don't say anything bad to Java  big_smile

I did put the height and width in the .htm document. That didn't answer my question about uploading it this way through Weebly. And I do not like the java player, and that is my opinion.


http://nitrostudios.weebly.com/uploads/6/8/1/2/6812574/1323469851.png

Offline

 

#293 2012-01-13 15:57:57

Venazard
Scratcher
Registered: 2009-12-15
Posts: 100+

Re: ITopic: Are there ways to share your creation other than the website?

rshapiro wrote:

attitudex2 wrote:

1. What can I do to prevent the project from starting automatically?  When my webpage loads, the project starts as if the green flag has been clicked.  This is not the desired behavior.

Yes, me too. Why do they autorun? Is there any way to disable that? I really can't have the project start before the green flag is clicked.

What I do is I just put a Play icon before the entire project. So, when they click it, it begins.


http://nitrostudios.weebly.com/uploads/6/8/1/2/6812574/1323469851.png

Offline

 

#294 2012-01-17 08:09:37

rshapiro
New Scratcher
Registered: 2012-01-13
Posts: 3

Re: ITopic: Are there ways to share your creation other than the website?

Venazard wrote:

rshapiro wrote:

attitudex2 wrote:

1. What can I do to prevent the project from starting automatically?  When my webpage loads, the project starts as if the green flag has been clicked.  This is not the desired behavior.

Yes, me too. Why do they autorun? Is there any way to disable that? I really can't have the project start before the green flag is clicked.

What I do is I just put a Play icon before the entire project. So, when they click it, it begins.

Thanks for this but can you explain further? What do you mean by a Play icon? As well, I'd like to put more than one project ion the page and don't want them all starting at the same time; I need to play them individually.

Offline

 

#295 2012-01-17 09:30:14

Venazard
Scratcher
Registered: 2009-12-15
Posts: 100+

Re: ITopic: Are there ways to share your creation other than the website?

rshapiro wrote:

Venazard wrote:

rshapiro wrote:


Yes, me too. Why do they autorun? Is there any way to disable that? I really can't have the project start before the green flag is clicked.

What I do is I just put a Play icon before the entire project. So, when they click it, it begins.

Thanks for this but can you explain further? What do you mean by a Play icon? As well, I'd like to put more than one project ion the page and don't want them all starting at the same time; I need to play them individually.

I mean "Play icon" as a sprite in front of a title. You know, the white triangle. It would use the same concept as a Youtube video for example. You can start when you press Play. Does that help, or am I still unclear?


http://nitrostudios.weebly.com/uploads/6/8/1/2/6812574/1323469851.png

Offline

 

#296 2012-01-17 09:31:31

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: ITopic: Are there ways to share your creation other than the website?

bannanaman wrote:

[blocks]
<when green flag clicked>
<say[ How do you make a .htm file? I clicked save as on Microsoft Word but in file type optins there is no .htm ? Please help!
[/blocks]

HTM is the same as a HTML file. However, Word uses something called "rich text" which means it doesn't really save into program language formats. What you really want to do is create your code in a "plain text" editor. I recommend Notepad++ which will colour code your code for you, making reading it easier.


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#297 2012-01-17 11:07:12

rshapiro
New Scratcher
Registered: 2012-01-13
Posts: 3

Re: ITopic: Are there ways to share your creation other than the website?

Venazard wrote:

rshapiro wrote:

Venazard wrote:


What I do is I just put a Play icon before the entire project. So, when they click it, it begins.

Thanks for this but can you explain further? What do you mean by a Play icon? As well, I'd like to put more than one project ion the page and don't want them all starting at the same time; I need to play them individually.

I mean "Play icon" as a sprite in front of a title. You know, the white triangle. It would use the same concept as a Youtube video for example. You can start when you press Play. Does that help, or am I still unclear?

Ah, I see. I thought you meant on the web page itself. Unfortunately, I have 50 student projects to post and to go add this to all of them would be impossible with the time constraints I have. Thank you, though.

If there is any command I could add to the page or some config file I could change, that would be the perfect solution.

Offline

 

#298 2012-01-30 15:43:10

pamayat
New Scratcher
Registered: 2012-01-30
Posts: 1

Re: ITopic: Are there ways to share your creation other than the website?

nick wrote:

Hi!
Htm and test the code, it works fine but the applet is very small, how increase their size?, I tried to change into the labels "heignt" and "wide", but still the same size.
Thanks for your help


There's actually a way to share scratch projects on your website or in a folder on a CD or computer without posting them to scratch.mit.edu first. To do it, you need to download the following files to the directory on your website (or a folder on your computer):

1. http://scratch.mit.edu/static/misc/ScratchApplet.jar
2. http://scratch.mit.edu/static/misc/soundbank.gm

(for soundbank.gm, if you're using firefox, right-click and select "Save Link As..." to download)

After copying these to a folder on your computer, put the .sb file in the same folder. Then, create a .htm file with the following contents:

Code:

<html>
<body>
<applet id="ProjectApplet" style="display:block" code="ScratchApplet" codebase="./" archive="ScratchApplet.jar" height="387" width="482">
<param name="project" value="testproject.sb">
</applet>
</body>
</html>

replacing testproject.sb with the name of the project you want to view. This will allow you to either view scratch projects offline (in a folder) or online (on a webserver).

You can view an example of this in action here:
http://web.media.mit.edu/~nbushak/test.html

Additional methods of embedding Scratch projects are detailed here:
http://info.scratch.mit.edu/Publishing_ … r_websites

Also, we release new versions of ScratchApplet.jar occasionally for bug fixes. If you're using this a lot, it may be a good idea to stay updated by periodically downloading new versions of ScratchApplet.jar from the website.

Nick

Offline

 

#299 2012-01-31 12:31:04

destroyer789
Scratcher
Registered: 2011-11-11
Posts: 3

Re: ITopic: Are there ways to share your creation other than the website?

How do I make it where people can't open or copy files from the CD but can still play the game?

when gf clicked
repeat until <(timer) > [10]>
  go to [mouse-pointer v]
end
think [Scripts in your posts!] for (3) secs

Offline

 

#300 2012-02-14 08:16:49

Splodgey
Scratcher
Registered: 2011-04-26
Posts: 500+

Re: ITopic: Are there ways to share your creation other than the website?

pamayat wrote:

nick wrote:

Hi!
Htm and test the code, it works fine but the applet is very small, how increase their size?, I tried to change into the labels "heignt" and "wide", but still the same size.
Thanks for your help


There's actually a way to share scratch projects on your website or in a folder on a CD or computer without posting them to scratch.mit.edu first. To do it, you need to download the following files to the directory on your website (or a folder on your computer):

1. http://scratch.mit.edu/static/misc/ScratchApplet.jar
2. http://scratch.mit.edu/static/misc/soundbank.gm

(for soundbank.gm, if you're using firefox, right-click and select "Save Link As..." to download)

After copying these to a folder on your computer, put the .sb file in the same folder. Then, create a .htm file with the following contents:

Code:

<html>
<body>
<applet id="ProjectApplet" style="display:block" code="ScratchApplet" codebase="./" archive="ScratchApplet.jar" height="387" width="482">
<param name="project" value="testproject.sb">
</applet>
</body>
</html>

replacing testproject.sb with the name of the project you want to view. This will allow you to either view scratch projects offline (in a folder) or online (on a webserver).

You can view an example of this in action here:
http://web.media.mit.edu/~nbushak/test.html

Additional methods of embedding Scratch projects are detailed here:
http://info.scratch.mit.edu/Publishing_ … r_websites

Also, we release new versions of ScratchApplet.jar occasionally for bug fixes. If you're using this a lot, it may be a good idea to stay updated by periodically downloading new versions of ScratchApplet.jar from the website.

Nick

Why did you post this without you saying anything?

Offline

 
  • Index
  •  » Advanced Topics
  •  » ITopic: Are there ways to share your creation other than the website?

Board footer