Discuss Scratch

gromko
Scratcher
51 posts

Standalone project viewer

As you can see the projects without the use of Offline Editor?
For example, using the Flash player from cdn.scratch.mit.edu/scratchr2/static/__1379468319__/Scratch.swf , and script in HTML.
alaindu22
Scratcher
100+ posts

Standalone project viewer


It is possible if you use a webserver on your computer
i use a french portable webserver (zazoo) see http://www.zmws.com/

in your browser (I use firefox) you have to type
http:// localhost /name_of_scratch_directory/name_of_the_page.htm



if you know the ip of your computer on local network
all pages and project are visible from all the computer of the local network even they have no scratch installed and no internet connection.
in the browser you have to enter http:// local_ip_of_your_computer /name_of_scratch_directory/name_of_the_page.htm

I have made a php soft which generate the html file
if you look in the html source you can see that it is always the same thing except the name of the sb2 file !
It is not possible to increase the width with the flash player but with ctrl + it does the same effect.

unzip this this file
standalone_scratch_projects.zip

see the file lisez moi for more instructions

Alain

Last edited by alaindu22 (June 14, 2015 19:44:27)

gromko
Scratcher
51 posts

Standalone project viewer

It's working! Thank you very much!

I used a local ultralight web server webfs (Ubuntu 13.04)

If it is a full-screen display, it will be possible to make a “compiler” standalone project!
alaindu22
Scratcher
100+ posts

Standalone project viewer

There is also another advantage to using a personal webserver
It becomes possible to easily read the scratch project with tablet and android system (adobe flash player ics + webbrowser as dolphin)
I think it is very interseting for scratch projects in school

Alain

Last edited by alaindu22 (Sept. 22, 2013 09:45:25)

ArneS
Scratcher
9 posts

Standalone project viewer

Why don't make a detailed tutorial on this in a YouTube-video or in a scratch-project? That would be fantastic, cause' I don't know that much about this topic…
alaindu22
Scratcher
100+ posts

Standalone project viewer

Hello
You can see a video here.

http://9giga.sfr.fr/n/50-17/share/LNK7827533d789f92cba/

It is very difficult for me to explaine all with details (myenglish is poor)

the video is made with linux but it is the same thing with windows (I have no good screencam soft with windows so I use linux )
As i said in my first post, the personnal webserver is a windows portable soft with php ability and its runs also with linux and wine

So to make a standalone project you have only to use your browser and access to the page generateur_scratch_flash.php

After just reactualize your browser (F5) and access to .flash.htm files

Alain

Last edited by alaindu22 (April 3, 2014 15:05:59)

axmad386
Scratcher
1 post

Standalone project viewer

Thank You Alain. I'm new on scratch, but i'm very interested in this project. I think your post is very useful. I'm try to embed the scratch 2 project to my web, and finally you save my life
But, why the full screen doesn't work?
AnonymousScratchBoy
New to Scratch
3 posts

Standalone project viewer

thx
AnonymousScratchBoy
New to Scratch
3 posts

Standalone project viewer

Oh ya XAMPP the best or LAMPP Just a reccomendation
junebeetle
Scratcher
100+ posts

Standalone project viewer

I have a simpler way, I have programmed a converter that will take the project and give you a swf. You can embed it with the <object> tag in html. Would that be helpful to anyone?

lose (the game v)
djdolphin
Scratcher
1000+ posts

Standalone project viewer

junebeetle wrote:

I have a simpler way, I have programmed a converter that will take the project and give you a swf. You can embed it with the <object> tag in html. Would that be helpful to anyone?
Yes, definitely!

!
junebeetle
Scratcher
100+ posts

Standalone project viewer

Cool! I currently only have it as an AppleScript, so it will only run on Mac. I am working on a Java version. I could probably send it to you somehow…

lose (the game v)
GamerBraxtonGamez
Scratcher
11 posts

Standalone project viewer

junebeetle wrote:

Cool! I currently only have it as an AppleScript, so it will only run on Mac. I am working on a Java version. I could probably send it to you somehow…

I know that this discussion probably ended a long time ago, but do you have the JavaScript version yet?
win [the game]
R4356th
Scratcher
1000+ posts

Standalone project viewer

GamerBraxtonGamez wrote:

junebeetle wrote:

Cool! I currently only have it as an AppleScript, so it will only run on Mac. I am working on a Java version. I could probably send it to you somehow…

I know that this discussion probably ended a long time ago, but do you have the JavaScript version yet?
Yes, you have go to junebeetle.github.io . It works for both Scratch 2.0 and 3.0 projects.

Last edited by R4356th (April 10, 2020 07:41:57)

Powered by DjangoBB