This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.
  • Index
  •  » Advanced Topics
  •  » How to embed Flash Player and Experimental Viewer in another website

#26 2011-10-24 21:13:35

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

Re: How to embed Flash Player and Experimental Viewer in another website

Hey! I need to put a project into Googledocs, and have it run the game in flash, is that possible if I can edit the code in googledocs?

Offline

 

#27 2011-10-29 03:51:41

s_federici
Scratcher
Registered: 2007-12-18
Posts: 500+

Re: How to embed Flash Player and Experimental Viewer in another website

SheppardProductions wrote:

Okay, how do you use the code to make your scratch game run in flash? Please make it very clear where I put what, because this is really confusing me.

uhmmm... not sure what you mean. The flash player is flash, so your games will run in flash. What it is suggested here is what you need to make the game run in your website with the flash player. Instead, running the project form your website with Java player is very easy, as you already have the "embed" link in the project's page.

Offline

 

#28 2012-01-09 21:17:31

AllButSimilar
New Scratcher
Registered: 2012-01-09
Posts: 20

Re: How to embed Flash Player and Experimental Viewer in another website

s_federici wrote:

SheppardProductions wrote:

Okay, how do you use the code to make your scratch game run in flash? Please make it very clear where I put what, because this is really confusing me.

uhmmm... not sure what you mean. The flash player is flash, so your games will run in flash. What it is suggested here is what you need to make the game run in your website with the flash player.

That's what I meant... (new account, same question)

Offline

 

#29 2012-03-21 21:36:52

brusurf
New Scratcher
Registered: 2011-04-17
Posts: 22

Re: How to embed Flash Player and Experimental Viewer in another website

crazy i love it

Offline

 

#30 2012-03-25 20:25:02

30bla30
Scratcher
Registered: 2008-03-13
Posts: 30

Re: How to embed Flash Player and Experimental Viewer in another website

I'm trying to use this on my blogger blog...the player shows up...and so does the loading bar...but after it loads it just turns blank white.


http://i48.tinypic.com/2s81ocz.jpg[url=explosivepixelgames.com/forums/download/file.php?id=4[/url]

Offline

 

#31 2012-03-26 06:11:26

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

Re: How to embed Flash Player and Experimental Viewer in another website

30bla30 wrote:

I'm trying to use this on my blogger blog...the player shows up...and so does the loading bar...but after it loads it just turns blank white.

That happens to me - but without the loading bar...  sad

Offline

 

#32 2012-03-26 08:43:41

s_federici
Scratcher
Registered: 2007-12-18
Posts: 500+

Re: How to embed Flash Player and Experimental Viewer in another website

30bla30 wrote:

I'm trying to use this on my blogger blog...the player shows up...and so does the loading bar...but after it loads it just turns blank white.

It is very possible that the HTML editor of the blog is cutting some HTML code away. have a look at the final HTML code of your blog page and check if everything you added is there. If not, post the final HTML code (only the code around the player).

Offline

 

#33 2012-03-26 09:30:30

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

Re: How to embed Flash Player and Experimental Viewer in another website

s_federici wrote:

30bla30 wrote:

I'm trying to use this on my blogger blog...the player shows up...and so does the loading bar...but after it loads it just turns blank white.

It is very possible that the HTML editor of the blog is cutting some HTML code away. have a look at the final HTML code of your blog page and check if everything you added is there. If not, post the final HTML code (only the code around the player).

It's working now, I'm not sure why it didn't before but I did this:

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 HERE/PROJECT ID HERE.sb?version=1">
</object>

Offline

 

#34 2012-03-27 02:12:19

s_federici
Scratcher
Registered: 2007-12-18
Posts: 500+

Re: How to embed Flash Player and Experimental Viewer in another website

Splodgey wrote:

It's working now, I'm not sure why it didn't before

I'm glad now it is working as expected  smile

Offline

 

#35 2012-04-18 17:05:15

XenoK
Scratcher
Registered: 2011-09-08
Posts: 1000+

Re: How to embed Flash Player and Experimental Viewer in another website

why doesnt full screen work?  Even though I hate flash, the flash player has one advantage: full screen.  but it doesn't work on the embeds.  If it works on the scratch website, it should work anywhere else.


Eternity Tasks has launched into Alpha One! http://tasks.eternityincurakai.com/EI%20projects.png

Offline

 

#36 2012-04-18 17:43:46

bobbybee
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: How to embed Flash Player and Experimental Viewer in another website

XenoK wrote:

why doesnt full screen work?  Even though I hate flash, the flash player has one advantage: full screen.  but it doesn't work on the embeds.  If it works on the scratch website, it should work anywhere else.

Try shift-clicking the full-screen button.


I support the Free Software Foundation. Protect our digital rights!

Offline

 

#37 2012-04-18 17:48:18

XenoK
Scratcher
Registered: 2011-09-08
Posts: 1000+

Re: How to embed Flash Player and Experimental Viewer in another website

bobbybee wrote:

XenoK wrote:

why doesnt full screen work?  Even though I hate flash, the flash player has one advantage: full screen.  but it doesn't work on the embeds.  If it works on the scratch website, it should work anywhere else.

Try shift-clicking the full-screen button.

discoverability of that feature isn't very high.  then, I had to press the escape key for it to work.


Eternity Tasks has launched into Alpha One! http://tasks.eternityincurakai.com/EI%20projects.png

Offline

 

#38 2012-04-18 17:49:30

bobbybee
Scratcher
Registered: 2009-10-18
Posts: 1000+

Re: How to embed Flash Player and Experimental Viewer in another website

XenoK wrote:

bobbybee wrote:

XenoK wrote:

why doesnt full screen work?  Even though I hate flash, the flash player has one advantage: full screen.  but it doesn't work on the embeds.  If it works on the scratch website, it should work anywhere else.

Try shift-clicking the full-screen button.

discoverability of that feature isn't very high.  then, I had to press the escape key for it to work.

I'd post something in Bugs and Glitches. Maybe v38 of the Flash Player will have a fix.


I support the Free Software Foundation. Protect our digital rights!

Offline

 

#39 2012-04-18 17:53:19

XenoK
Scratcher
Registered: 2011-09-08
Posts: 1000+

Re: How to embed Flash Player and Experimental Viewer in another website

bobbybee wrote:

XenoK wrote:

bobbybee wrote:


Try shift-clicking the full-screen button.

discoverability of that feature isn't very high.  then, I had to press the escape key for it to work.

I'd post something in Bugs and Glitches. Maybe v38 of the Flash Player will have a fix.

done.


Eternity Tasks has launched into Alpha One! http://tasks.eternityincurakai.com/EI%20projects.png

Offline

 

#40 2012-04-19 03:38:37

s_federici
Scratcher
Registered: 2007-12-18
Posts: 500+

Re: How to embed Flash Player and Experimental Viewer in another website

bobbybee wrote:

Try shift-clicking the full-screen button.

Thanks for discovering this! I'm going to add it to the main post  smile

Offline

 

#41 2012-05-18 10:27:53

leukar
New Scratcher
Registered: 2012-05-10
Posts: 3

Re: How to embed Flash Player and Experimental Viewer in another website

I have tried the code  and it doesn't run :S what should I do to run my scratch projects in my web??

Offline

 

#42 2012-05-18 10:57:07

leukar
New Scratcher
Registered: 2012-05-10
Posts: 3

Re: How to embed Flash Player and Experimental Viewer in another website

it only runs the experimental code , but i want to run my own project, i know the project and the projectname but theres one parameter :"userid" how I know my user id??

Offline

 

#43 2012-05-19 02:04:15

s_federici
Scratcher
Registered: 2007-12-18
Posts: 500+

Re: How to embed Flash Player and Experimental Viewer in another website

leukar wrote:

how I know my user id??

Your userid is leukar. Is the name you see in the address bar of your browser when you browse your projects/pages on the Scratch website.

Offline

 

#44 2012-05-19 15:15:39

leukar
New Scratcher
Registered: 2012-05-10
Posts: 3

Re: How to embed Flash Player and Experimental Viewer in another website

s_federici wrote:

leukar wrote:

how I know my user id??

Your userid is leukar. Is the name you see in the address bar of your browser when you browse your projects/pages on the Scratch website.

yes but in the experimental code you have written:

project=Mr-Negitive&projectname=1772157&userid=62626


and the part userid is a number, the name is "mr negitive" that equals to "leukar" but that number...

pff....sorry, I don't understand it  :S

Offline

 

#45 2012-05-20 03:47:42

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

Re: How to embed Flash Player and Experimental Viewer in another website

http://toongame.net76.net/index.php

What am I doing wrong?


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

Offline

 

#46 2012-05-20 04:41:30

rookwood101
Scratcher
Registered: 2011-07-29
Posts: 500+

Re: How to embed Flash Player and Experimental Viewer in another website

Zigz1 wrote:

http://toongame.net76.net/index.php

What am I doing wrong?

Well you haven't put in any of the required code at all.


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

Offline

 

#47 2012-05-20 08:43:40

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

Re: How to embed Flash Player and Experimental Viewer in another website

rookwood101 wrote:

Zigz1 wrote:

http://toongame.net76.net/index.php

What am I doing wrong?

Well you haven't put in any of the required code at all.

I put it in.. -.-


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

Offline

 

#48 2012-05-23 13:43:19

iTweak0r
Scratcher
Registered: 2011-07-30
Posts: 100+

Re: How to embed Flash Player and Experimental Viewer in another website

help! i tried doing the scratch website flash one, but all it shows is a black screen!


Make it in Scratch! because it's cooler when it's made in scratch
http://i.imgur.com/D4iqPHR.png

Offline

 

#49 2012-05-23 17:22:41

iTweak0r
Scratcher
Registered: 2011-07-30
Posts: 100+

Re: How to embed Flash Player and Experimental Viewer in another website

iTweak0r wrote:

help! i tried doing the scratch website flash one, but all it shows is a black screen!


Make it in Scratch! because it's cooler when it's made in scratch
http://i.imgur.com/D4iqPHR.png

Offline

 

#50 2012-07-10 03:46:30

Kenichi10
Scratcher
Registered: 2010-05-07
Posts: 89

Re: How to embed Flash Player and Experimental Viewer in another website

I've tried like 5 times using the flash player example, but it won't load. I'm using ie9, on windows 7.


http://kenichi10.hostoi.com/1Banner.pnghttp://kenichi10.hostoi.com/2Banner.png

Offline

 
  • Index
  •  » Advanced Topics
  •  » How to embed Flash Player and Experimental Viewer in another website

Board footer