I'm glad that the spammer bumped this topic because I was looking for something like this
I can't upload at home because of my connection and we have no Scratch installed here so I can't do that either
Offline
Is it possible to adapt the scratch applet, to run other files? or get the code your wrote it in to see how it works?
Offline
Is there any way to capture or convert the first page of the Scartch .sb files into an PNG or JPG file?
I want to use it as the icon shown on the web.
Thanks
Offline
Yes, and it's very easy. I can see that many people above have posted probably similar to what I'm going to tell you but I use something different to host my scratch projects. If you may have herd about a website called "Widgetbox.com", if you haven't herd of them they host widget creations on their platform and allow users to provide tech support to their widgets and it's totally free. All I use to embed my scratch projects from here is the applet feature on the right side of the page were a project would be on here.
Offline
theapproom wrote:
Yes, and it's very easy. I can see that many people above have posted probably similar to what I'm going to tell you but I use something different to host my scratch projects. If you may have herd about a website called "Widgetbox.com", if you haven't herd of them they host widget creations on their platform and allow users to provide tech support to their widgets and it's totally free. All I use to embed my scratch projects from here is the applet feature on the right side of the page were a project would be on here.
Was that directed at me? or the guy/girl above you?
Offline
I gives me this error message:
Java Plug-in 1.6.0_15 Using JRE version 1.6.0_15-b03 Java HotSpot(TM) Client VM User home directory = C:\Users\Jack ---------------------------------------------------- load: class ScratchApplet not found. java.lang.ClassNotFoundException: ScratchApplet at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.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) Caused by: java.io.IOException: open HTTP connection failed:http://members.webs.com/MembersB/EditPage/ScratchApplet.class at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source) at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source) at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) ... 7 more Exception: java.lang.ClassNotFoundException: ScratchApplet load: class ScratchApplet not found. java.lang.ClassNotFoundException: ScratchApplet at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.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) Caused by: java.io.IOException: open HTTP connection failed:http://members.webs.com/MembersB/EditPage/ScratchApplet.class at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source) at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source) at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) ... 7 more Exception: java.lang.ClassNotFoundException: ScratchApplet load: class ScratchApplet not found. java.lang.ClassNotFoundException: ScratchApplet at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.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) Caused by: java.io.IOException: open HTTP connection failed:http://members.webs.com/MembersB/EditPage/ScratchApplet.class at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source) at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source) at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) ... 7 more Exception: java.lang.ClassNotFoundException: ScratchApplet load: class ScratchApplet not found. java.lang.ClassNotFoundException: ScratchApplet at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.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) Caused by: java.io.IOException: open HTTP connection failed:http://members.webs.com/MembersB/EditPage/ScratchApplet.class at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source) at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source) at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) ... 7 more Exception: java.lang.ClassNotFoundException: ScratchApplet load: class ScratchApplet not found. java.lang.ClassNotFoundException: ScratchApplet at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.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) Caused by: java.io.IOException: open HTTP connection failed:http://members.webs.com/MembersB/EditPage/ScratchApplet.class at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source) at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source) at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) ... 7 more Exception: java.lang.ClassNotFoundException: ScratchApplet load: class ScratchApplet not found. java.lang.ClassNotFoundException: ScratchApplet at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.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) Caused by: java.io.IOException: open HTTP connection failed:http://members.webs.com/MembersB/EditPage/ScratchApplet.class at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source) at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source) at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) ... 7 more Exception: java.lang.ClassNotFoundException: ScratchApplet load: class ScratchApplet not found. java.lang.ClassNotFoundException: ScratchApplet at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.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) Caused by: java.io.IOException: open HTTP connection failed:http://members.webs.com/MembersB/EditPage/ScratchApplet.class at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source) at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source) at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) ... 7 more Exception: java.lang.ClassNotFoundException: ScratchApplet
What I think it's saying is that I don't have ScratchApplet.jar but I do!
Offline
are they all in the same folder? maybe that has something to do with it?
Offline
markyparky56 wrote:
Is it possible to adapt the scratch applet, to run other files? or get the code your wrote it in to see how it works?
Can anyone answer my question?
Plus a new one:
What was it written it?
Offline
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 do you make the project bigger? I tried going into the HTML and fiddling with the size and width but it Wouldn't make the project bigger, It would only make the container bigger.
Offline
markyparky56 wrote:
markyparky56 wrote:
Is it possible to adapt the scratch applet, to run other files? or get the code your wrote it in to see how it works?
Can anyone answer my question?
Plus a new one:
What was it written it?
Can anyone answer my question?!
Offline
Hi friends
Based on the same concept of using scratchapplet jar file
i have created a simple scratch project manager with admin login which you can host it on your own, developed in PHP MySql.
Here you can easily upload projects, add notes , receive comments etc. without any knowledge of html or php .
You can download it from Scratcher http://sourceforge.net/projects/scratcher
You simply need to unzip the file in your hosting folder (public_html) and then follow the 4-step installer
Example site : http://satyadeep.uni.cc
Admin Login : satyadeep
password: satya
Last edited by saty (2009-12-12 11:03:25)
Offline
saty wrote:
Hi friends
Based on the same concept of using scratchapplet jar file
i have created a simple scratch project manager with admin login which you can host it on your own, developed in PHP MySql.
Here you can easily upload projects, add notes , receive comments etc. without any knowledge of html or php .
You can download it from Scratcher http://sourceforge.net/projects/scratcher
You simply need to unzip the file in your hosting folder (public_html) and then follow the 4-step installer
Hax site!!!! JK I dunno but I'm not going there
Offline
ms-r wrote:
Hi,
I'd really like to use Scratch for development of sketches to use in my eLearning pieces for work. What would be ideal would be if Scratch allowed me to export to an swf flash file. It looks like I can only point people at the web site though which isn't ideal as I'd want to put content in that is confidential.
Is this something I can do now or something in development for the future?
Many thanks.
MS-R
If you go to the taggs spot,look above a little and you will see "emmbed" click that and copy the applet,then paste.Sure there are thousands of other ways but this one is the only one I know...
Offline
hmm it would be useful to be able to do this.
Offline
NICKBN98 wrote:
Hi.
I tried to upload my work on an iMac, but every time I try it, there is an error message saying that I should restart my computer. Can anyone help me?
Have you...restarted your computer?
Also, try reinstalling Scratch or use another computer.
Offline
is there a way to put the scratch applet into a javascript alert box?
<script type="text/javascript"> alert('code for embedding a project') </script> <noscript>Enable javascript in your browser to view an important message.</noscript>
That way it wouldn't take as much space on my webpage.
Offline
16Skittles wrote:
is there a way to put the scratch applet into a javascript alert box?
Code:
<script type="text/javascript"> alert('code for embedding a project') </script> <noscript>Enable javascript in your browser to view an important message.</noscript>That way it wouldn't take as much space on my webpage.
Thats a good idea actualy.
Offline
markyparky56 wrote:
16Skittles wrote:
is there a way to put the scratch applet into a javascript alert box?
Code:
<script type="text/javascript"> alert('code for embedding a project') </script> <noscript>Enable javascript in your browser to view an important message.</noscript>That way it wouldn't take as much space on my webpage.
Thats a good idea actualy.
But I need to know how.
Offline
this is interesting.
Offline
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 can't download soundbank.gm I have Safari.
Offline
Can you please tell me how to embed Scratch in HTML5? I understand I have to use th e <object>..</object> tag, but other than that, I need additional guidance to make it work.
Thanks,
TalmidTov
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
Offline
Scratchguy3 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.
NickI can't download soundbank.gm I have Safari.
I uploaded this a while ago, its the soundbank.gm file. http://www.mediafire.com/file/n4nmejdvhfz/soundbank.gm
Offline
Thanks!!
Offline