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

#1 2010-11-10 05:47:39

Sruvcio
Scratcher
Registered: 2010-10-03
Posts: 11

Posting Scratch Projects on other websites

Hey guyz! ive seen many websites made by scratchers where they upload they projects, and they made it on www.webs.com (i think so  tongue ). could some1 tell me how to upload projects on it? (if you have ever seen that page)

Offline

 

#2 2010-11-10 06:10:30

what-the
Scratcher
Registered: 2009-10-04
Posts: 1000+

Re: Posting Scratch Projects on other websites

There is an embed button on the project page. Copy the applet one and past the html code on your web page. There is another way but this one works fine. You could make a secret account if you only want people to see it on your site.


http://imageshack.us/m/64/9034/ddfss.pngMy site
Find someone post count. Click posts under username. Find number of pages. Times that by 40 for min and 60 for max and you have a rough estimate of post count.

Offline

 

#3 2010-11-10 06:28:44

Sruvcio
Scratcher
Registered: 2010-10-03
Posts: 11

Re: Posting Scratch Projects on other websites

thx!

Offline

 

#4 2010-11-10 07:24:38

kennyshane
New Scratcher
Registered: 2010-11-10
Posts: 1

Re: Posting Scratch Projects on other websites

Hi ,
I'm a teacher and have had great success with scratch, we as a school would like to show that pupils work off on our website. Is there  any way that we can upload the projects and they will just play like a flash file on a webpage ?? any help would be great. Thx

Offline

 

#5 2010-11-10 18:53:56

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: Posting Scratch Projects on other websites

kennyshane wrote:

Hi ,
I'm a teacher and have had great success with scratch, we as a school would like to show that pupils work off on our website. Is there  any way that we can upload the projects and they will just play like a flash file on a webpage ?? any help would be great. Thx

what-the wrote:

There is an embed button on the project page. Copy the applet one and past the html code on your web page. There is another way but this one works fine. You could make a secret account if you only want people to see it on your site.


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://i.imgur.com/OZn2RD3.png&link2=http://i.imgur.com/duzaGTB.png&link3=http://i.imgur.com/CrDGvvZ.png&link4=http://i.imgur.com/POEpQyZ.png&link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#6 2010-11-11 02:40:27

lackofslackness
Scratcher
Registered: 2010-09-27
Posts: 24

Re: Posting Scratch Projects on other websites

Harakou wrote:

kennyshane wrote:

Hi ,
I'm a teacher and have had great success with scratch, we as a school would like to show that pupils work off on our website. Is there  any way that we can upload the projects and they will just play like a flash file on a webpage ?? any help would be great. Thx

what-the wrote:

There is an embed button on the project page. Copy the applet one and past the html code on your web page. There is another way but this one works fine. You could make a secret account if you only want people to see it on your site.

I don't think that is what she means.
She wants them to play as a Flash file.
I don't know how to do it automatically, but you can use Stencyl (when it is released) to re-make the project, then upload. Find it at http://www.stencyl.com/ .
Otherwise, I don't know.


http://img709.imageshack.us/img709/3252/gobanim2.gif  http://img709.imageshack.us/img709/3252/gobanim2.gif  http://img709.imageshack.us/img709/3252/gobanim2.gifhttp://img709.imageshack.us/img709/3252/gobanim2.gifhttp://img709.imageshack.us/img709/3252/gobanim2.gifhttp://img709.imageshack.us/img709/3252/gobanim2.gif

Offline

 

#7 2010-11-11 06:56:43

-GizzardGulp-
Scratcher
Registered: 2010-03-05
Posts: 100+

Re: Posting Scratch Projects on other websites

lackofslackness wrote:

Harakou wrote:

kennyshane wrote:

Hi ,
I'm a teacher and have had great success with scratch, we as a school would like to show that pupils work off on our website. Is there  any way that we can upload the projects and they will just play like a flash file on a webpage ?? any help would be great. Thx

what-the wrote:

There is an embed button on the project page. Copy the applet one and past the html code on your web page. There is another way but this one works fine. You could make a secret account if you only want people to see it on your site.

I don't think that is what she means.
She wants them to play as a Flash file.
I don't know how to do it automatically, but you can use Stencyl (when it is released) to re-make the project, then upload. Find it at http://www.stencyl.com/ .
Otherwise, I don't know.

Doesn't this just means that you have an image of the game on the site and when it is clicked it brings you directly to the game on the scratch site? It would be cool if you could post it on a website and have people be able to play it directly on that website and not have to be brought back to any other. Then you could show off and trick everyone into thinking you know how to program flash games.  smile


http://i1118.photobucket.com/albums/k607/Max_Levine/SnoutmolStudios.png

Offline

 

#8 2010-11-11 07:20:42

HD123
Scratcher
Registered: 2009-12-05
Posts: 500+

Re: Posting Scratch Projects on other websites

-GizzardGulp- wrote:

lackofslackness wrote:

Harakou wrote:

kennyshane wrote:

Hi ,
I'm a teacher and have had great success with scratch, we as a school would like to show that pupils work off on our website. Is there  any way that we can upload the projects and they will just play like a flash file on a webpage ?? any help would be great. Thx

I don't think that is what she means.
She wants them to play as a Flash file.
I don't know how to do it automatically, but you can use Stencyl (when it is released) to re-make the project, then upload. Find it at http://www.stencyl.com/ .
Otherwise, I don't know.

Doesn't this just means that you have an image of the game on the site and when it is clicked it brings you directly to the game on the scratch site? It would be cool if you could post it on a website and have people be able to play it directly on that website and not have to be brought back to any other. Then you could show off and trick everyone into thinking you know how to program flash games.  smile

I have a solution!  Use the experimental flash player.

Code:

<html>
<head>
<link rel="stylesheet" type="text/css" href="http://scratch.mit.edu/static/experimental/css/viewproject.css" />
<script type="text/javascript" src="http://scratch.mit.edu/static/experimental/js/jquery-1.4.2.js"></script>
<script type="text/javascript" src="http://scratch.mit.edu/static/experimental/js/viewproject.js"></script>
<script type="text/javascript" src="http://scratch.mit.edu/static/experimental/js/experimental.js"></script>
<script> 
function getUrlVars()
{
    var args = window.location.href.slice(window.location.href.indexOf('?') + 1);
    var vars = [], hash;
    var hashes = args.split('&');
    for(var i = 0; i < hashes.length; i++){
        hash = hashes[i].split('=');
        vars.push(hash[0]);
        vars[hash[0]] = hash[1];
    }
  return vars;
}
 
var urlvars = getUrlVars();
var sb = urlvars['sb'];
var id =  urlvars['id'];
 
</script>
 
</head>
<body>
<div class="header">
 <div class="logo">
     <img src="http://scratch.mit.edu/static/experimental/img/justscratch.png">Experimental Viewer
 </div>
 <div class="help">
  <a href="#" onClick="showHelp()">Questions about this viewer?</a>
</div>
</div>
 
<div class="frame" id="div">
    <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
        codebase="http://macromedia.com/cabs/swflash.cab#version=6,0,40,0"
        id=Scratch WIDTH="100%" HEIGHT="100%">
    <PARAM NAME=movie VALUE="http://scratch.mit.edu/static/experimental/Scratch.swf?owner=HD123&projectname=1397802&userid=408726">
    <PARAM NAME="bgcolor" VALUE="#000000">
    <PARAM NAME=quality VALUE=medium>
    <PARAM NAME="allowScriptAccess" VALUE="always">
    <param NAME="wmode" VALUE="opaque">
    <EMBED src="http://scratch.mit.edu/static/experimental/Scratch.swf?owner=HD123&projectname=1397802&userid=408726"
        bgcolor="#000000"
        WIDTH="100%" HEIGHT="100%"
        allowScriptAccess="always"
        wmode="opaque"
        TYPE="application/x-shockwave-flash">
    </EMBED>
    </OBJECT>
    <div class="popup"></div>

</html>
</div>
</body>
</html>

All you have to do is change all the project numbers to the project you want to display, and change all the usernames to your username.


~~HD123~~
Treat others as you want to be treated. |  big_smile  | http://i.imgur.com/OaNrY.gif | http://blocks.scratchr.org/libstatus.php?user=HD123&amp;online=http://lemonfanatic.webs.com/ONLINE.png&amp;offline=http://lemonfanatic.webs.com/OFFLINE.png

Offline

 

#9 2010-11-12 04:58:06

2l84zwamani
Scratcher
Registered: 2010-09-27
Posts: 100+

Re: Posting Scratch Projects on other websites

lackofslackness wrote:

Harakou wrote:

kennyshane wrote:

Hi ,
I'm a teacher and have had great success with scratch, we as a school would like to show that pupils work off on our website. Is there  any way that we can upload the projects and they will just play like a flash file on a webpage ?? any help would be great. Thx

what-the wrote:

There is an embed button on the project page. Copy the applet one and past the html code on your web page. There is another way but this one works fine. You could make a secret account if you only want people to see it on your site.

I don't think that is what she means.
She wants them to play as a Flash file.
I don't know how to do it automatically, but you can use Stencyl (when it is released) to re-make the project, then upload. Find it at http://www.stencyl.com/ .
Otherwise, I don't know.

Kennyshane is not necessarily a female... and also, you can use proper links with the [ url ] stencyl.bom [ /url ] or [ url = stencyl.bom ] Stencyl [ / url ] tags. And hello! I thought you said that you have no time for Scratch.

Last edited by 2l84zwamani (2010-11-12 04:59:09)


I will be a Ms. Pickle Dr. Deadpebble Great Person <forever>
http://is.gd/d55N3http://is.gd/d55N3http://is.gd/d55N3http://is.gd/d55N3http://is.gd/d55N3http://is.gd/d55N3http://is.gd/d55N3http://is.gd/d55N3http://is.gd/d55N3 GROB THE SLIME WILL TAKE OVER THE WORLD!

Offline

 

Board footer