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?

#301 2012-02-20 17:57:47

plipplop29
New Scratcher
Registered: 2011-11-13
Posts: 1

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

Nick, I have been trying to download the things you gave to us, but I don't know what to open it with. What should I open the soundbank and ScratchApplet with?

Many thanks,
Plipplop29













When gf clicked
say [Plipplop29 is awesome!!!!!!!!!!!!!!!!!!] for (1000000000000) secs
think [Plipplop29 is awesome!!!!!!!!!!!!!!!!!!] for (1000000000000) secs
say [bye]

Offline

 

#302 2012-02-21 15:42:31

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

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

plipplop29 wrote:

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

Nick, I have been trying to download the things you gave to us, but I don't know what to open it with. What should I open the soundbank and ScratchApplet with?

Many thanks,
Plipplop29













When gf clicked
say [Plipplop29 is awesome!!!!!!!!!!!!!!!!!!] for (1000000000000) secs
think [Plipplop29 is awesome!!!!!!!!!!!!!!!!!!] for (1000000000000) secs
say [bye]

You don't open them.... They just stay in the same folder as your project.


when gf clicked
think [Why doesn't he/she put those Scratch blocks in his/her signature :/] for (10) secs

Last edited by Splodgey (2012-02-21 15:44:12)

Offline

 

#303 2012-02-24 21:30:07

xopets
Scratcher
Registered: 2012-01-28
Posts: 7

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

Spence wrote:

That is a good idea, but, how do you make an Htm file and put it on that code. I'm not that good with computers.

first use some thing like note pad copy and paste the code , make the needed changes  and change .txt or what ever it says to .htm

Offline

 

#304 2012-02-24 22:04:57

xopets
Scratcher
Registered: 2012-01-28
Posts: 7

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

poppins wrote:

I have just looked at the comments about embedding Scratch projects in a website and it is all working beautifully, so thank you for that.  My question is... is there anyway that the project notes can be included in the applet, as the children I am working with are writing instructions for the user.

Any help would be appreciated.  Thank you.

just add your text in to the .html
like this:<html>
<body>
<applet id="ProjectApplet" style="display:block" code="ScratchApplet" codebase="." archive="ScratchApplet.jar" height="387" width="482">
<param name="project" value="xopets.sb" />
</applet>
</body>
</html>
hi

Offline

 

#305 2012-04-03 13:47:05

gagetman
Scratcher
Registered: 2011-10-23
Posts: 26

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

kevin_karplus wrote:

The "Is there anyway I can convert Scratch projects to exe files?" should be on the FAQ, as it has been asked several times.  The answer is "no", but there are ways to incorporate scratch programs on arbitrary web sites.

there is


I love scratchhttp://wiki.scratch.mit.edu/images/Scratch_Cat-cropped.png
I must be lucky getting to hold the Olympic Torch!

Offline

 

#306 2012-04-05 11:25:07

Snowdrift
Scratcher
Registered: 2011-06-22
Posts: 500+

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

gagetman wrote:

kevin_karplus wrote:

The "Is there anyway I can convert Scratch projects to exe files?" should be on the FAQ, as it has been asked several times.  The answer is "no", but there are ways to incorporate scratch programs on arbitrary web sites.

there is

That was like in 2007 before they had many scratch mods (If any at all)

Offline

 

#307 2012-05-19 13:12:37

Zigz1
Scratcher
Registered: 2012-05-15
Posts: 60

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

java.lang.ClassFormatError: Incompatible magic value 538976288 in class file ScratchApplet
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Exception: java.lang.ClassFormatError: Incompatible magic value 538976288 in class file ScratchApplet

..What


http://i.imgur.com/b8VaZNv.png
Click to go on my collab's website "Dandelion"!

Offline

 

#308 2012-05-24 16:59:16

isaacsudweeks
Scratcher
Registered: 2011-12-09
Posts: 2

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

each time I go to the web sight I made it shows a error on the applet and I don't know what to do.

Offline

 

#309 2012-05-28 19:10:44

PullJosh
Scratcher
Registered: 2011-08-01
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

How would I put the two downloaded files on the "directory" of my site? I'm making it completely out of javascript and it would be about the same as this, but it would have some CSS in it. So I guess my question is this: how would I make a directory with only HTML? Also, just for the learning expirience, what exactly is a directory?


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

 

#310 2012-05-28 19:27:53

GeonoTRON2000
Scratcher
Registered: 2009-12-24
Posts: 1000+

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

Safety Torch:
Tim Tim, things are looking grim grim,
But lucky for you you,
I have come with a solution!
It's your lucky day!

FLASH PLAYER!

Code:

<object width='483' height='387' type='application/x-shockwave-flash' data='http://scratch.mit.edu/static/misc/PlayerOnly.swf'><param name='allowScriptAccess' value='sameDomain'><param name='allowFullScreen' value='true'><param name='flashvars' value='project=http://scratch.mit.edu/static/projects/GeonoTRON2000/2535353.sb'></object>

Replace http://scratch.mit.edu/static/projects/GeonoTRON2000/2535353.sb with your project URL!


http://i.imgur.com/BAEgGDL.png

Offline

 

#311 2012-05-31 18:50:13

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

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

PullJosh wrote:

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

How would I put the two downloaded files on the "directory" of my site? I'm making it completely out of javascript and it would be about the same as this, but it would have some CSS in it. So I guess my question is this: how would I make a directory with only HTML? Also, just for the learning expirience, what exactly is a directory?

I sorta need to know this right away, so... Bump!


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

 

#312 2012-06-01 14:48:52

Sonic8546
New Scratcher
Registered: 2012-06-01
Posts: 2

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

Hi Mario6475 I got message for you.

Offline

 

#313 2012-06-11 17:03:27

MarkTurner
New Scratcher
Registered: 2012-06-11
Posts: 1

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

How do I post a scratch game on another website? What type of file should I convert it to?

Offline

 

#314 2012-07-18 04:26:15

HayesSchool
New Scratcher
Registered: 2012-05-30
Posts: 2

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

I want my students to be able to show their Scratch projects on their Dreamweaver websites. I have downloaded the gm and jar files and set up a webpage with a table in it, pasted in the code and pointed to an sb file, which is in the directory but when I view in IE the scratch project says "loading" and stops there. Can anybody help with this? We can't embed from the Scratch website as our techs won't let the students upload or download from the site in school.
Thank you

Offline

 

#315 2012-07-18 05:49:23

SciTecCf
Scratcher
Registered: 2011-11-23
Posts: 1000+

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

HayesSchool wrote:

I want my students to be able to show their Scratch projects on their Dreamweaver websites. I have downloaded the gm and jar files and set up a webpage with a table in it, pasted in the code and pointed to an sb file, which is in the directory but when I view in IE the scratch project says "loading" and stops there. Can anybody help with this? We can't embed from the Scratch website as our techs won't let the students upload or download from the site in school.
Thank you

First of all, DREAMWEAVER?!?! Second of all, the problem that you are most likely having is that the player cannot find the correct file. The easiest way to embed the Flash player without such troubles is to share the project and use this code:

Code:

<object width="483" height="387" type="application/x-shockwave-flash" data="http://scratch.mit.edu/static/misc/PlayerOnly.swf">
   <param name="allowScriptAccess" value="always">
   <param name="allowFullScreen" value="true">
   <param name="flashvars" value="project=http://scratch.mit.edu/static/projects/{USERNAME}/{PROJECT ID}.sb?version=1">
</object>

http://bit.ly/LCZEJRhttp://bit.ly/LSONcOhttp://bit.ly/LF3vIc
http://trinary.site40.net/images/scratchrank.php?username=SciTecCf&amp;display=small

Offline

 

#316 2012-07-18 07:23:34

HayesSchool
New Scratcher
Registered: 2012-05-30
Posts: 2

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

Thank you very much for responding so quickly.
Why - what's wrong with Dreamweaver? Not that I chose it - I just do as I'm told!
By share do you mean on the the Scratch website? That's what our techs won't allow.

Offline

 

#317 2012-07-18 07:27:54

SciTecCf
Scratcher
Registered: 2011-11-23
Posts: 1000+

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

HayesSchool wrote:

Thank you very much for responding so quickly.
Why - what's wrong with Dreamweaver? Not that I chose it - I just do as I'm told!
By share do you mean on the the Scratch website? That's what our techs won't allow.

There's nothing wrong with Dreamweaver, I just really want it.  lol  And yes, I mean the scratch website. You can also upload it to another website, and change the URL to the newly uploaded file.  smile

Last edited by SciTecCf (2012-07-18 07:28:40)


http://bit.ly/LCZEJRhttp://bit.ly/LSONcOhttp://bit.ly/LF3vIc
http://trinary.site40.net/images/scratchrank.php?username=SciTecCf&amp;display=small

Offline

 

#318 2012-07-18 07:58:16

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

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

HayesSchool wrote:

I want my students to be able to show their Scratch projects on their Dreamweaver websites. I have downloaded the gm and jar files and set up a webpage with a table in it, pasted in the code and pointed to an sb file, which is in the directory but when I view in IE the scratch project says "loading" and stops there. Can anybody help with this? We can't embed from the Scratch website as our techs won't let the students upload or download from the site in school.
Thank you

Maybe this player can work with a local file. Judging from the way it's set up, it shouldn't depend on the website.


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#319 2012-07-18 15:33:10

coolhogs
Scratcher
Registered: 2011-07-26
Posts: 1000+

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

Is there a way to make an app from a Scratch project?


Get ready for domination of:  tongue

Offline

 

#320 2012-07-18 15:55:30

stevetheipad
Scratcher
Registered: 2011-08-06
Posts: 1000+

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

coolhogs wrote:

Is there a way to make an app from a Scratch project?

Like an App Store app? Or a .app file?


http://i.imgur.com/0x8ia.jpg
gone

Offline

 

#321 2012-07-19 00:46:50

coolhogs
Scratcher
Registered: 2011-07-26
Posts: 1000+

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

stevetheipad wrote:

coolhogs wrote:

Is there a way to make an app from a Scratch project?

Like an App Store app? Or a .app file?

An app store app...


Get ready for domination of:  tongue

Offline

 

#322 2012-07-19 01:51:16

chanmanpartyman
Scratcher
Registered: 2011-05-30
Posts: 500+

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

coolhogs wrote:

stevetheipad wrote:

coolhogs wrote:

Is there a way to make an app from a Scratch project?

Like an App Store app? Or a .app file?

An app store app...

You'd have to recode it in Objective-C.

Offline

 

#323 2012-09-22 08:33:31

Starglow
New Scratcher
Registered: 2012-07-05
Posts: 3

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

Hello
I'm trying to embed my project on a google site. nick's method doesn't work, or I'm doing something wrong. I'm no pro at coding, so could someone please give me simple instructions?
I have downloaded the soundbank  and Scratch Applet files, but the game won't appear. There isn't even a space where it should be.
Please don't tell me to post my project on the website, I know it's a possibility but I'd rather not.

Offline

 

#324 2012-12-10 12:39:11

Balboa7
Scratcher
Registered: 2010-01-22
Posts: 31

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

WOW, thanks it worked, it was really easy, I used one of my games and it turned out working well!  smile   smile   smile   smile   smile   smile   smile   smile   smile   smile   smile


Check out my game art projects!:
http://scratch.mit.edu/static/projects/Balboa7/2772374_med.pnghttp://scratch.mit.edu/static/projects/Balboa7/2749252_med.pnghttp://scratch.mit.edu/static/projects/Balboa7/2749330_med.pnghttp://scratch.mit.edu/static/projects/Balboa7/2749444_med.png

Offline

 

#325 2012-12-10 12:41:18

Balboa7
Scratcher
Registered: 2010-01-22
Posts: 31

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

stevetheipad wrote:

coolhogs wrote:

Is there a way to make an app from a Scratch project?

Like an App Store app? Or a .app file?

I am wondering the same as coolhogs, but I think he means App Store, I mean .app.


Check out my game art projects!:
http://scratch.mit.edu/static/projects/Balboa7/2772374_med.pnghttp://scratch.mit.edu/static/projects/Balboa7/2749252_med.pnghttp://scratch.mit.edu/static/projects/Balboa7/2749330_med.pnghttp://scratch.mit.edu/static/projects/Balboa7/2749444_med.png

Offline

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

Board footer